That depends on how/what you're running. If your booting linux you can just 
execute m5 dumpresetstats <ticks till initial> <repeat every> before running 
your application. If you want to do a similar thing with sys call emulation, 
you'll need to do some hacking on the run loop in Simulation.py to only run for 
a number of ticks and then call m5.stats.dump() and m5.stats.reset(). 

Ali

On Feb 17, 2012, at 9:43 PM, Chun Zhang wrote:

> Dear all,
> 
> I'm wondering which part in the code to start from if I need to dump the 
> performance (i.e., the one in m5out/stats.txt) for like every N cycles/ticks? 
> Since I'm very new to gem5, I really appreciate any suggestions.
> 
> Thanks a lot.
> 
> -- 
> Best Regards,
> 
> ======================
> Chun Zhang
> [email protected]
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

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

Reply via email to