Hi
Just a guess... You have to modify
simulate(maxtick)

in such a way to simulate for some number of cycles you want.
Use system.switch_cpus.numCycles as the iterator which reflect the
cycles you want.

--
// Naderan *Mahmood;


On Sat, Dec 17, 2011 at 12:02 PM, Ankita (Garg) Goel
<[email protected]> wrote:
>
> Hi,
>
> I am trying to generate gem5 statistics every few cpu cycles for the entire 
> duration of my benchmark. Is 'm5 dumpresetstats' the only way ? Getting the 
> period right is difficult, as I observed that even if the number of sim_ticks 
> between the stats is the same, the numCycles varies quite a bit across the 
> stats. Any suggestions on how I could achieve this ?
>
> I want to feed this output into McPAT to generate instanteneous power numbers.
>
> Thanks for your help!
>
> --
> Regards,
> Ankita
>
>
>
> _______________________________________________
> 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

Reply via email to