Hi Andreas,

You can just call /sbin/m5 dumpresetstats from within your runscript before
each benchmark.
The dumped stats will contain all cache related metrics.

regards

Timon

On Thu, May 3, 2018 at 3:52 PM Andreas Konopik <[email protected]>
wrote:

> Dear gem5-devs,
>
> I would like to start, stop and output cache hits/misses from within a
> full system emulation at the start and end of a benchmarking program.
> I.e. the total cache hits/misses for every cache since the beginning of
> the benchmark.
>
> Can you give me any hints on where to start?
>
> I was thinking about redirecting an access to a certain address to a
> function triggering the start/stop of the cache measurement.
>
> Best regards,
>
> Andreas Konopik
>
> _______________________________________________
> 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