Could you give me more details? Where did you add the cprintf()? Which command are you using for running gem5?
If you want to modify the gem for test purposes, I suggest inserting the cprintf() in the tick() method because this method is always called in the O3CPU model. I guess you might add the cprintf() for a method that was not called. Best regards. ---------------------------------------------------------------------------------------------------------------------------------------------- Francisco Carlos Silva Junior Ph.D Student ________________________________ De: gem5-users <[email protected]> em nome de Eun-Sung Kim <[email protected]> Enviado: domingo, 1 de março de 2020 06:27 Para: [email protected] <[email protected]> Assunto: [gem5-users] Modifying source code in gem5 I’m trying to modify source code in gem5. For testing, I add a cprintf() statement to src/cpu/o3/fetch_impl.hh. Then using scons, I rebuild gem5. But, any change didn’t happen. What did I miss?
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
