Hi Shervin,

There is a function exported to python through swig that allows you to schedule 
a periodic dumping of stats, "periodStatDump(long long period)". You can add 
that to the script you use for your simulation.
Andreas

From: shervin hajiamini 
<hajamini_2...@yahoo.com<mailto:hajamini_2...@yahoo.com>>
Reply-To: gem5 users mailing list 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Saturday, 6 October 2012 18:13
To: "gem5-users@gem5.org<mailto:gem5-users@gem5.org>" 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Subject: [gem5-users] dumps stats for every N cycles

Hi all,

I want to dump stats for the all the consecutive periods (windows) of N cycles 
each, however when CPU goes to the sleep mode in a particular period, I do not 
have access to the cycle/tick counter (until CPU wakes up) and therefore the 
stats for that period cannot be captured.

Does anybody know how I can dump stats for all the periods regardless of 
whether CPU goes to sleep or not?

Thanks,
Shervin


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to