I don't think you want to specify this in a cpu.cc file. For PARSEC
you want to modify the hooks library in parsec and add functions like
m5_checkpoint(0,0) and m5_dumpreset_stats(0,0) to the end of
__parsec_roi_begin() and probably and m5_exit(0) to __parsec_roi_end().
I imagine something similar can be done for splash. 

You'll need to
change the make file for the hooks to include the m5op_XXXXXX.S file
from the util/m5 directory along with the headers for whatever
architecture you're using. 

Ali 

On 17.08.2012 12:47, shervin
hajiamini wrote: 

> Hi all, 
> 
> I want to specify in gem5 (cpu.cc
file) when the region of interest (ROI) of a benchmark (splash or
parsec) starts and when it ends. Does anyone know how I can do this? I
would appreciate any help. 
> 
> Thanks, 
> 
> Shervin

 
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to