Hello,

You can use the gem5 instruction rpns() (from util/m5/m5op.h) in your code,
as if it was a gettime or cycle counter. It gives the nanosecs elapsed
since the begining.

Regards,

--
Fernando A. Endo, Post-doc

INRIA Rennes-Bretagne Atlantique
France


2015-09-04 22:59 GMT+02:00 Marcos Horro Varela <[email protected]>:

> Hello all,
>
> I am working with gem5 in SE mode, because I am trying to optimize the
> memory system. Thus, I am testing some benchmarks, but I do not want gem5
> to count the ticks and time of all benchmark, just a specific function of
> the test, can I do this although it is not Full System mode?
> Thank you,
>
> Best regards,
>
> --
> Marcos Horro Varela,
> BSc student
> University of A Coruña
> +34 618 62 67 37
> http://markos-horro.com
> _______________________________________________
> 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