Quoting Griffin Wright <[email protected]>:


Hello:

Apologies if this is a silly question.  I have the IntRegs trace flag set
and have some code in src/cpu/simple_thread.hh that I would like to only
run when that flag is set (essentially so something relating to the IntRegs
is only performed so many times, starting when the trace-start flag
activates).  How could I do this?

Thanks,
Griffin Wright
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


Like this:

http://repo.gem5.org/gem5/file/7f49e6a176b8/src/cpu/o3/commit_impl.hh#l1160

Gabe



_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to