If you want to "hack this", look into the CPU progress interval code (src/cpu/base.cc) and instead of printing out the progress interval, call the dumpStats function (not sure where that is offhand).
On Wed, Feb 23, 2011 at 1:06 PM, Weixun Wang <[email protected]> wrote: > Hi there, > > I need to dump out some statistics on a period basis (e.g., every 10000 > cycles) in M5 during execution. What is the best place in the source code to > add this? Although hacked M5 before, I failed to find the main simulation > loop (or there does not even exist such a loop but only message passing > components and queues?). > > Any help? > > Thanks. > > Weixun > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- - Korey
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
