Hi, I remarked that there is an option called "--enable-context-switch-stats-dump" (my gem5 version: 11153:20bbfe5b2b86). Maybe, you can take it as a starting point to implement what you need.
Regards, -- Fernando A. Endo, Post-doc INRIA Rennes-Bretagne Atlantique France 2016-02-23 9:46 GMT+01:00 Nimish Girdhar <[email protected]>: > Hello all, > > I observed one behavior when I simulated same benchmark with different > core frequencies (core and private caches frequency scaled), that the > instructions and other stats like cache misses e.t.c decrease with increase > in frequency. I suspect that it is due to something like timed interrupts > which will occurs less often on higher core frequencies. > > So I want to filter out all the statistics related to only user mode > instructions which will help me in comparing different frequency settings. > I saw from previous posts that there is a method "TheISA::inUserMode(tc)" > which can tell if the instruction is a user mode instruction or not. > > But i would not want to do this check for all the statistics i am > interested in. Is there a way to only get all the statistics related to > only usermode instructions? > > Thanks for your help. > > -- > Warm regards > Nimish Girdhar > Department of Electrical and Computer Engineering > Texas A&M University > > _______________________________________________ > 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
