Re: [Gems-users] Adding statistics to Ruby, Global variables?


Date: Thu, 19 Apr 2007 16:57:39 +0800
From: "hongxia sun" <sunhx.seraph@xxxxxxxxx>
Subject: Re: [Gems-users] Adding statistics to Ruby, Global variables?
Hi Brianna,
 
It depends on where you want to get your speculative value. If it is from the cache controller, you can add a function in GEMS/ruby/slicc_interface/RubySlicc_Profiler_interface.h and .C file. And then you can write the speculative value in *.sm through the function and profile it by call profiler.
 
Hope it can be help.
 
Regards,
SUN Hongxia

 
2007/4/19, Brianna Sue Bethel <Brianna.Bethel@xxxxxxxxxxxx>:
Hello.  I am working on trying to add simple speculation to cache protocols.  I was going to start with just the MI example protocol.

My first goal is to create a 'global data structure' that can hold a speculative value.  It could be per processor.  From looking at the profilers, it seems like global variables are used to hold the stats, but I'm confused on how to add this to a protocol.  Should I be modifiying the SLICC protocol files (.sm files?) or perhaps a file such as Profiler.C or Sequencer.C?

Any help or ideas would be appreciated as I am confused on how the protocol files link with the C files.

Thanks,
Brianna
_______________________________________________
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→]