Hello Ali,

I would appreciate in you could answer my question (email below) about dumping 
stats for ROI using simulation.py. 

Following your direction, I have run the simulation with stats dumped every 
period, however I want to have the period dumping stopped at a particular tick 
(end of ROI). Could you please let me know how I can specify that in 
simulation.py?

Regards,
Shervin

--- On Thu, 10/25/12, shervin hajiamini <[email protected]> wrote:

From: shervin hajiamini <[email protected]>
Subject: Re: dumping periodic stats with checkpoints
To: [email protected]
Date: Thursday, October 25, 2012, 5:17 AM

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
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to