Check out configs/common/Options.py and then use the "progress interval"
option to dump and a fixed # of ticks for a duration of the simulation.

2012/1/11 马君 <[email protected]>

>  Hi gem5 users:****
>
>          I’ve known how to dump stats.txt every fixed interval of ticks
> with:****
>
>                    exit_event = m5.simulate()****
>
>          But, when I use “for” loop to dump stats.txt based on the number
> of instructions, just like:****
>
>          for n in range(100)   ****
>
> for i in xrange(np):****
>
>            testsys.cpu[i].max_insts_any_thread = options.maxinsts****
>
>          exit_event = m5.simulate()****
>
>            m5.stats.dump()****
>
>          I found that only the first interval data is correct.****
>
>          Could anyone help me that?****
>
> ** **
>
> Jun****
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 
- Korey
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to