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 <andreas.hans...@arm.com>
To: gem5 users mailing list <gem5-users@gem5.org>
Subject: Re: [gem5-users] dump stats for every N cycles
Message-ID: <cc979bfe.3929%andreas.hans...@arm.com>
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 
<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: Sunday, 7 October 2012 19:45
To: "gem5-users@gem5.org<mailto:gem5-users@gem5.org>" 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to