Could you please let me know of the exact file name where I should call 
periodStatDump()? I searched through all the gem5 source codes for this 
function but I did not find that.

Thank you very much,
Shervin 

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

Message: 1
Date: Sun, 7 Oct 2012 20:54:04 +0100
From: Andreas Hansson <[email protected]>
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] dump stats for every N cycles
Message-ID: <cc979bfe.3929%[email protected]>
Content-Type: text/plain; charset=WINDOWS-1252

I would suggest calling it from the Python scripts, when creating the system. 
You can call it from C++ as well, but why modify the source code if you don't 
have to?

Andreas

From: shervin hajiamini 
<[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Sunday, 7 October 2012 19:45
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] dump stats for every N cycles

Andreas,

Following your reply, I want to know that in which file I need to call 
periodStatDump() such that the stats is dumped periodically regardless of 
whether CPU goes to sleep or not. Can I call periodStatDump in "cpu.cc" file? 
and if so, at which section of cpu.cc I need to call this function?

Thanks,
Shervin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to