Hi All,

I need to set a bool variable in src/cpu/simple/base.(hh|cc) to be true
when m5_reset_stats() is *explicitly *called from some binary executing on
gem5. Using this bool and instruction count, I want to exit the simulation.

How can I modify the body (hack) of m5_reset_stats() to call other
functions ? Where is its body defined ?
If not possible, then is there any alternative way to set the bool variable
when m5_reset_stats() is *explicitly* called ?

Thank You,
Sampad Mohapatra
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to