Hi, Shervin Have you tried the cmd line options of either fs.py or ruby_fs.py?
For example: --take-checkpoints=TAKE_CHECKPOINTS <M,N> will take checkpoint at cycle M and every N cycles thereafter --max-checkpoints=MAX_CHECKPOINTS the maximum number of checkpoints to drop --max-checkpoints=MAX_CHECKPOINTS the maximum number of checkpoints to drop --work-begin-checkpoint-count=WORK_BEGIN_CHECKPOINT_COUNT checkpoint at specified work begin count --work-end-checkpoint-count=WORK_END_CHECKPOINT_COUNT checkpoint at specified work end count Runjie ------------------------------------------------------------------------- the second simulate should be end_tick_ROI - start_tick_ROI. You pass a relative time to the function, not an absolute time. Thanks, Ali On Oct 27, 2012, at 11:29 PM, shervin hajiamini wrote: > Hi Ali, Andreas, > > > > I have tested dumping periodic stats for only ROI by putting the following > statements in simulation.py: > > > > M5.simulate(start_tick_ROI) > statDump(4000000000) > exit_event = m5.simulate(end_tick_ROI) > > The stats get dumped (every period) starting from start_tick_ROI, but it does > NOT stop at end_tick_ROI. > > Please let me know how I can make sure that the simulation stops at > end_tick_ROI. I am interested in having stats for only ROI. > > Thanks, > Shervin > > ------------------------------------------------------ > > Hi Shervin, > > If you are not interested in what happens after a specific tick T, then only > run to that tick and exit. > > Andreas > --------------------------------------- > > 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 > > --------------------------------------------------- > 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 > > ******************************** > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users