Thanks Fernando for the information. So from what I can infer, this will
dump stats whenever there will be any kind of context switches. I am
assuming that for 1 core run, only two types of context will be running,
user mode and kernel mode. So will it be mean that every alternate stat
prints will be of the user mode? Or is there any other way to link the
stats with the mode?

Thanks for your time.

On Sun, Feb 28, 2016 at 6:16 AM, Fernando Endo <[email protected]>
wrote:

> 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
>



-- 
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

Reply via email to