You can use the rpcc instruction (see util/ccdrv/devtime.c) or the rpns pseudo-instruction (see util/m5).
Ali On Wed, 10 Feb 2010 11:29:59 -0500, Amir Hossein Hormati <[email protected]> wrote: > Hi, > Does m5 implement any sort of timer that I can access from within my > benchmark to time different parts of the program? I know I can > use Linux timers but is there a lighter version implemented by m5 that just > returns the number of simulation ticks ? > > Thanks, > Amir _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
