Yes, m5.stats.dump().....i'm using beta 2
----- Original Message ----
From: Nathan Binkert <[EMAIL PROTECTED]>
To: M5 users mailing list <m5-users@m5sim.org>
Sent: Thursday, November 29, 2007 11:58:47 AM
Subject: Re: [m5-users] Simulation Questions
> when i use m5.simulate.dump() it says "object module has no attribute
> stats"?
Do you mean m5.stats.dump()?
>
>
> ----- Original Message ----
> From: Steve Reinhardt <[EMAIL PROTECTED]>
> To: M5 users mailing list <m5-users@m5sim.org>
> Sent: Tuesday, November 27, 2007 1:28:14 AM
> Subject: Re: [m5-users] Simulation Questions
>
> 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
>
>
>
> ____________________________________________________________________________________
> Get easy, one-click access to your favorites.
> Make Yahoo! your homepage.
> http://www.yahoo.com/r/hs
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how.
http://overview.mail.yahoo.com/
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users