Hi Ali,

Thank you very much for your direction. If I have understood it correctly, 
"ticks_till_ROI" indicates the TICK when ROI starts? How can I specify when (at 
which tick) ROI ends? Shall I specify that with m5.MaxTick?

Could you please tell me where exactly (in simulation.py) I should put the 
statements you said? Shall I put it in after ***Real Simulation***?

Thanks,
Shervin 
------------------------------------------------------------------------

Hi Shervin,

You can modify Simulation.py to run for however many ticks you need an then 
return control to python:
m5.simulate(ticks_till_ROI)
statDump(1000000000)
m5.simulate(m5.MaxTick)


Ali

On Oct 24, 2012, at 1:43 AM, shervin hajiamini wrote:

> Ali,
> 
> Based on the stats I get for the entire ROI (non-periodic) of a benchmark, I 
> know approximately at which tick ROI starts and at which tick the ROI ends, 
> however I  do not know how I can use this information for PERIODIC dumping of 
> stats for ROI only. 
> 
> I am using statDump(period) which has been recently added as a patch to gem5 
> but I do not know how I can use this function for only ROI of a benchmark.
> 
> Thanks,
> Shervin
********************
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to