Hi Andreas,

Thank you very much for your reply. Could you please tell me in which file I 
can find periodStateDump()? As I said in my previous message, whenever CPU goes 
to sleep at a particular period, the stats can not be dumped for that period. 
How should I tackle this?

Thank you,
Shervin


------------------------------

Message: 2
Date: Sun, 7 Oct 2012 16:00:48 +0100
From: Andreas Hansson <andreas.hans...@arm.com>
To: gem5 users mailing list <gem5-users@gem5.org>
Subject: Re: [gem5-users] dumps stats for every N cycles
Message-ID: <cc97563c.3903%andreas.hans...@arm.com>
Content-Type: text/plain; charset=WINDOWS-1252

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

End of gem5-users Digest, Vol 75, Issue 37
******************************************
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to