Jerry,

 

Can you provide the users list with the exact requirements for your
experiments you wish to run? That will make it easier to give you help.

 

Geoff

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of jerry lrui
Sent: Monday, May 05, 2008 12:10 PM
To: M5 users mailing list
Subject: Re: [m5-users] How to dump m5stats per cycle?

 

Is there a better way to get these stats after very cycle, if I can not dump
all these stats? I only need few stats such as cache hits to analyze the
runtime characteristic. Thanks.
 

Jerry
 

On 5/5/08, Geoffrey Blake <HYPERLINK
"mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]> wrote: 

If you just need aggregate stats at the end of the simulation run, such as
number of dcache.ReadReq_hits, M5 already does this.  When the simulation
finishes, it dumps the file: m5stats.txt to your current working directory
with everything added up for you.

 

Dumping stats every cycle can easily lead to multi gigabyte files that will
be very hard to work with and store.

 

Geoff

 

From: HYPERLINK "mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED] [mailto:HYPERLINK
"mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED] On Behalf
Of jerry lrui
Sent: Monday, May 05, 2008 11:17 AM
To: M5 users mailing list
Subject: Re: [m5-users] How to dump m5stats per cycle?

 

Hi, Lisa

 

I only need few stats to analyze the runtime characteristics of an
application. For example the number of dcache.ReadReq_hits,
icache.ReadReq_hits, etc. I added these codes
"Stats::StatEvent(true,false);" in function simulate(Tick num_cycles)
located simulate.cc. But I didn't get the result I wanted. Could you tell me
what is the correct way to get thest stats? Thank you very much!

 

Jerry


 

On 5/5/08, Lisa Hsu <HYPERLINK "mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED]> wrote: 

doing this will result in millions of large files full of stat text - what
is it that you want this for?

lisa

On Sat, May 3, 2008 at 11:39 PM, jerry lrui <HYPERLINK
"mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED]> wrote:

Hi,

 

I want to dump m5stats after per cycle. I've looked up the code. Maybe I can
add some codes in function simulate(Tick num_cycles) located simulate.cc.
Fox example, add a StatEvent like "Stats::StatEvent(true,false);" in this
function? But I'm not sure how to do it correctly. I'm using m5sim 2.0b5 in
SE model.  What is the correct way to get this information? Thanks!

 

Jerry

 

_______________________________________________
m5-users mailing list
HYPERLINK "mailto:[email protected]"; [EMAIL PROTECTED]
HYPERLINK "http://m5sim.org/cgi-bin/mailman/listinfo/m5-users";
\nhttp://m5sim.org/cgi-bin/mailman/listinfo/m5-users



_______________________________________________
m5-users mailing list
HYPERLINK "mailto:[email protected]"; [EMAIL PROTECTED]
HYPERLINK "http://m5sim.org/cgi-bin/mailman/listinfo/m5-users";
\nhttp://m5sim.org/cgi-bin/mailman/listinfo/m5-users

 

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1413 - Release Date: 5/3/2008
11:22 AM

 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1413 - Release Date: 5/3/2008
11:22 AM


_______________________________________________
m5-users mailing list
HYPERLINK "mailto:[email protected]"[email protected]
HYPERLINK "http://m5sim.org/cgi-bin/mailman/listinfo/m5-users";
\nhttp://m5sim.org/cgi-bin/mailman/listinfo/m5-users

 

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1413 - Release Date: 5/3/2008
11:22 AM


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.8/1413 - Release Date: 5/3/2008
11:22 AM
 
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to