Have a look at the CommMonitor. It does exactly this to be able to generate an 
address heat map.

Andreas

From: Milad Mohammadi <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Friday, August 16, 2013 8:32 PM
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] How to add more paramters to the stats.txt

Hi,

Can I ask how to change the format of statistics dump? say in hex.
I want to use the SparseHistogram to collect <address, counter> and the address 
need to be printed in hex.

best,
Song


On Sat, Aug 10, 2013 at 8:34 PM, Xiangyang Guo 
<[email protected]<mailto:[email protected]>> wrote:
Hi, Milad,

maybe you could find some info in Hipeac tutorial "common tasks" part which is 
available on gem5 website.

Regards

Xiangyang


On Sat, Aug 10, 2013 at 9:45 PM, Milad Mohammadi 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I am collecting some branch-bias and branch accuracy information during the 
gem5 execution and would like to dump that information into a file at the end 
of the execution.


 *   I am not sure how to detect the "end of program execution" in C. Is there 
a flag that is raised when the program execution completes?
 *   An alternate question to the same problem: are there instructions on how 
to modify the C/Python framework in order to add more statistics to the 
m5out/stats.txt file?

Any help is greatly appreciated!

Milad

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- 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.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to