Dear Ali, Thanks a lot for your hint. I've got it done by modifying the Simulation.py using a loop of m5.simulate(), m5.stats.reset() and m5.stats.dump().
On Sun, Feb 19, 2012 at 7:41 AM, Ali Saidi <[email protected]> wrote: > 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 > -- Best Regards, ====================== Chun Zhang [email protected]
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
