I did it! Thanks On Wed, Feb 4, 2015 at 3:09 PM, Kumail Ahmed <[email protected]> wrote:
> Hello Bigel, > > Thanks for your reply. Where do I put this code? > > Best regards, > Kumail > > On Wed, Feb 4, 2015 at 3:42 AM, Bigel Hadi <[email protected]> wrote: > >> Hi Ahmed >> >> You can add these lines to the Simulation script (Simulation.py) >> >> while 1: >> # The time scale is nano second >> exit_event = m5.simulate(time) >> m5.stats.dump() >> m5.stats.reset() >> if (exit_event.getCause() == <your_condition>): >> break >> >> Good luck >> Hadi >> >> >> >> >> >> On Wednesday, February 4, 2015 3:32 AM, Kumail Ahmed via gem5-users < >> [email protected]> wrote: >> >> >> Hello GEM5 users, >> >> How can we use GEM5 to generate statistics after a every 10000 clock >> cycles? >> >> Which file(s) do I have to edit? Is there any help present? >> >> Best regards, >> Kumail Ahmed >> >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >> >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
