Hi Shervin, If you are not interested in what happens after a specific tick T, then only run to that tick and exit.
Andreas From: shervin hajiamini <[email protected]<mailto:[email protected]>> Reply-To: gem5 users mailing list <[email protected]<mailto:[email protected]>> Date: Friday, 26 October 2012 09:38 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [gem5-users] Fw: Re: dumping periodic stats with checkpoints 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]<mailto:[email protected]>> wrote: From: shervin hajiamini <[email protected]<mailto:[email protected]>> Subject: Re: dumping periodic stats with checkpoints To: [email protected]<mailto:[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 ******************** -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
