Hello
The easiest way to do that is to write your script file like this: $less my_script.rcs ./sbin/m5 dumpstats ./sbin/m5 resetstats ./my_application echo "Done :D" /sbin/m5 exit The stats.txt file will have to sections (marked by Begin - End): the first one with statistics from boot-up and the second one with your applications. There are some counters (like sim_insts) that will not be reset. Don't be fooled by the high numbers. Best of luck! Alexandru ----- Original Message ---- From: Xing HAN <[email protected]> To: [email protected] Sent: Tue, May 24, 2011 10:09:23 AM Subject: [gem5-users] About the statistics under FS simulation Greeting, I have a question here. If I run my benchmark in m5/fs( and i'v known how to), I will get a status file in the directory m5out. This file contains the data collected from booting the kernel to the ending. But I concern the statistics such as sim_ticks, sim_inst, chache_hits/misses and the other data during the execution of my program. So the question is: How could I get the data that is generated ONLY int the period of running my benchmark? Thank You _______________________________________________ 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
