We currently have some documentation related to this here:

http://www.gem5.org/M5ops

It doesn't describe how to do what you're trying to do very well so I'll
need to improve it when I get a chance, but there's still a little
information which might get you started.

Gabe

On 07/03/11 20:48, 冠男陳 wrote:
> Hi, Gem5,
> I'm now getting statistic of my program by execute "m5 resetstats"
> before and "m5 dumpstats" after my program.
> However, my program consists of three parts: initializaion, main
> calculation, and verifying.
> If I want the statistic of "main calculation" only, is there any way
> to insert "m5 resetstats" and "m5 dumpstats" in C/C++ programs?
>
> Thank you very much.
> Mark Chen
> _______________________________________________
> 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