Re: [Gems-users] counting number of hits and misses


Date: Sun, 12 Mar 2006 22:19:09 -0600
From: "Min Xu (Hsu)" <xu@xxxxxxxxxxx>
Subject: Re: [Gems-users] counting number of hits and misses
Yes, Mike is right, thanks for correcting me. :-)

On Sun, 12 Mar 2006 Mike Marty wrote :
> > I think it is in the CacheMemory.h, but not 100%
> > Try search the string that is printed when you call ruby0.dumpstats
> > (or it could be ruby0.dump_stats).
> >
> 
> To profile L2 misses in a CMP protocol, the Slicc controller makes calls
> to the profiler (ruby/profiler/Profiler.C).
> 
> For example, in the MSI_MOSI_CMP_directory-L2cache.sm file, the
> uu_profileMiss action is called on every L2 miss.  This in turn will
> invoke an indirection through
> ruby/slicc_interface/RubySlicc_Profiler_interface.C to call the
> Profiler::addSecondaryStatSample() function.  Here you can add the
> requestor ID.
> 
> I don't believe the other CMP protocols currently call these functions on
> a miss, but it would be straightforward to add (and should have been there
> in the first place if missing).
> 
> --Mike
> 
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
[← Prev in Thread] Current Thread [Next in Thread→]