Hi, Building on top of my previous question and making it a bit more general. Is there a way to access stats in a somewhat global manner? Let me explain that with an example. During program execution, I need to know the number of instructions committed and the MPKIs for L1 and L2. On every commit of an instruction, I want to check the cache miss rates and see if and how they changed. (All of these done from a module in the src/cpu directory.) Do I have to connect the cpu and cache objects to my predictor via the Python files? Or are the stats saved somewhere so that they are globally accessible?
Thanks, Victor On Thu, 18 Jun 2020 at 17:38, Victor Kariofillis <[email protected]> wrote: > Hi, > > I want to run some tests for phase predictors using cache stats (e.g., L1 > and L2 MPKIs). I need access to those stats during program execution, in > order to both keep a log of these and make predictions based on them. What > is the best way to access them? Would this be done through the cache.cc and > cache.hh files? > > Also, since the phase predictor would be using cache stats is it best for > it to be implemented in the src/mem/cache directory? > > Thanks, > Victor >
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
