Thanks

--
// Naderan *Mahmood;


On Fri, Nov 25, 2011 at 9:16 PM, Ali Saidi <sa...@umich.edu> wrote:

> The python scripts are in complete control of the simulation, so you can
> do anything like this that you want, you'll just have to write some code to
> do it in configs/common/Simulation.py.
>
> dump stats:
> m5.stats.dump()
> reset stats:
> m5.stats.reset()
>
> simulate some number of ticks:
> m5.simulate(<number of ticks>)
>
> simulate some number of instructions:
> testsys.cpu[i].max_insts_any_thread = <some number of insts>
> m5.simulate()
>
>
> Ali
>
> On Nov 24, 2011, at 10:47 AM, Mahmood Naderan wrote:
>
> > Hi,
> > I also want to do same thing in SE mode. A very straight way to do
> > that is to redirect the needed information to a file regardless of
> > what gem5 doing. However it has heavy ovearhead on simulation
> > performance.
> >
> > If gem5 has some built-in capabilies to do such thing in SE mode then
> > it will be great.
> >
> > Is there any more idea and suggestion?
> >
> > On 11/17/11, Surya Narayanan <surya.naraya...@inria.fr> wrote:
> >> Thank You Ali... I did the modification in the .rCS script and found
> some
> >> changes...I think it writes the multi-interval stats in the same file.
> >>
> >>
> >> ***I am not able to figure out how can this be executed for a SE
> system...as
> >> they dont have the .rCS scripts...where can i make the modification of
> the
> >> statdump parameter?
> >>
> >>
> >> ***If i need to modify the statdump with respect to number of
> >> instructions...say similar statdump after every 10k instructions how
> can i
> >> achieve it? I am not able to get the right hold on where to work around
> with
> >> the code for these modifications.
> >>
> >>
> >>
> >>
> >> --
> >>
> >> Regards,
> >> Surya
> >>
> >
> >
> > --
> > --
> > // Naderan *Mahmood;
> > _______________________________________________
> > gem5-users mailing list
> > gem5-users@gem5.org
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to