Re: [Gems-users] L1 misses in MOESI_CMP_directory


Date: Mon, 19 Nov 2007 15:36:28 -0600
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] L1 misses in MOESI_CMP_directory
I don't remember exactly and I'm too busy to look at the code myself, but I believe profile_miss for SMPs just counts L2 misses since L1 misses are profiled in the sequencer.

--Mike


Dave Z. wrote:
Thanks for your reply, Mike. I have another question regarding the profiler. In SMP protocols, profile_miss function is used in the *-cache.sm. Does the same function profile both L1 and L2 misses? How does it distinguish between L1 and L2 misses? Thanks.


Dave

----- Original Message ----
From: Mike Marty <mikem@xxxxxxxxxxx>
To: Gems Users <gems-users@xxxxxxxxxxx>
Sent: Monday, November 19, 2007 8:53:01 AM
Subject: Re: [Gems-users] L1 misses in MOESI_CMP_directory


If you want to add calls to the Profiler for your own statistics, add new variables and methods to Profiler.h and Profiler.C. Make sure you clear your variables on the Profiler constructor and Profiler::clearStats(). Make sure you print out your variable in Profiler::printStats(). Then add wrapper functions in RubySlicc_Profiler_interface.[hC] that call into the Profiler object. Then declare your wrapper functions in RubySlicc_Profiler_interface.sm. Follow by example.
--Mike


Dave Z. wrote:
Hi,


The profileMiss actions are commented out in
 MOESI_CMP_directory-L1cache.sm. If we try to profile the L1 misses, the assertion in
 profile_miss - RubySlicc_Profiler_interface.C fails. What would be a good way to
 profile L1 misses in CMP protocols?
Thanks,


Dave



 ____________________________________________________________________________________
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
 "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
 "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.






      ____________________________________________________________________________________
Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs _______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.

[← Prev in Thread] Current Thread [Next in Thread→]