Hi Shervin,
you can dump stats in the Simulation.py file by calling
"m5.stats.dump()". I'm not sure how you can dump stats for fixed number
of instructions (it's easier to do that based on time intervals), but
you can create checkpoints at specific instruction numbers with the
option "--at-instruction". Then, restore it from the checkpoint to
execute for your interval length. However, it should be some easier ways
to dump stats based on the number of instructions, maybe someone else knows!
Cheers
Negar
On 19/05/2013 00:43, shervin hajiamini wrote:
Hi all,
I want to dump stats.txt every fixed interval of instructions. There
are already some posted messages in the mailing list about using
"testsys.cpu[i].max_insts_any_thread = options.maxinsts" in
Simulation.py. I have tested those suggestions but they don't seem to
work.
Can anybody please tell me how I should modify Simulation.py so that
stats.txt is dumped periodically based on a fixed number of
instructions? I want to dump stats just in the ROI of a benchmark.
Thanks,
Shervin
_______________________________________________
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