On Nov 26, 2007 6:37 PM, Steve Stephen <[EMAIL PROTECTED]> wrote:
>
> Is there a way to simulate for a particular numbe rof instructions just like
> --maxticks option?

Yes, you can set the max_insts_any_thread or max_insts_all_threads
params on a CPU object and the simulation will exit once any (or all)
threads on that CPU have executed that many instructions.

> Is there a get stats. on an interim basis while the
> simulation is running, like stopping teh simulation in middle, noting down
> results and resuming it again?

I don't see a command-line param for it, but you could roll your own
by setting up a loop in your simulation script where you call
m5.simulate(interval) and then m5.stats.dump() and then repeat.  You
can look in configs/common/Simulation.py to see something similar in
the code that dumps checkpoints at regular intervals.

Steve

>
>  ________________________________
> Get easy, one-click access to your favorites. Make Yahoo! your homepage.
> _______________________________________________
> m5-users mailing list
> m5-users@m5sim.org
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to