If you want to get really creative you can put a CommMonitor between the CPU 
and the L1 caches (you can simply connect it between the CPU Data port and the 
L1 D Cache). The CommMonitor will tell you exactly what you are looking for and 
give you an ITT (inter transaction time) histogram even.

Hope that helps.

Andreas

From: Amin Farmahini <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 10 December 2013 07:01
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] The frequency of memory requests being issued each 
cycle

Count the number of cycles you issue a memory request in LSQ.


On Tue, Dec 10, 2013 at 12:41 AM, Yuhang Liu 
<[email protected]<mailto:[email protected]>> wrote:
Thanks for your reply.
I know the number of loads and stores issued in a given period. But what I 
really want to know is not this.  I wonder how many cycles in which a new load 
or store request is issued. This number cannot be got via dividing # the number 
of loads and stores by # the number of cycles, since maybe more than one load 
or store be issued in the same cycle.

Could you give some advice?

At 2013-12-10 13:40:43,"Amin Farmahini" 
<[email protected]<mailto:[email protected]>> wrote:
If you are using O3, you can add some counters in LSQ to count the number of 
loads and stores issued. That is fairly simple.
You may also take a look at stats file. You may be able to extract that 
information from stats even w/o modifying the code.

Thanks,
Amin


On Mon, Dec 9, 2013 at 11:41 AM, Yuhang Liu 
<[email protected]<mailto:[email protected]>> wrote:
Hi,
Is there a metric to show "the frequency of memory requests being issued each 
cycle"?

That means, for example, in 10 cycles, there are 6 cycles in which there is a 
new memory request be issued, then "the frequency of memory requests being 
issued each cycle" is 60%.

How can I know it in GEM5 output?

John



_______________________________________________
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