Hi, I am trying to get scoped statistics out of gem5. I am not sure what I want is availble (maybe I a just using the wrong search terms) so let me explain a bit.
I have some function that I want to gather statistics about. Like number of cycles, number of branches, read/write hit/miss rate etc. All these numbers seem to be available in the gem5 statistics module. However when I enable that module I just get data concerning the whole program. Now I noticed that I could reset the timer with respect to the cyclecount. So let it perform x cycles and then start the timer etc. But that is not exactly what I want. I was thinking that maybe gem5 has some specific system calls or an API to link to gem5 to start and stop statistics gathering from withing the simulated program. Is there such a mechanism? Or any other way to get statistics of a scoped part of a program? Cheers, --Roeland _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
