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]> 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]> 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]> 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] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
