Ohh I looked and there is also a task file generated which tells what tasks
it is running. I think that should help me to decide when it is running the
main program. Thanks a lot for your help :)

On Tue, Mar 1, 2016 at 10:41 AM, Nimish Girdhar <nimi...@tamu.edu> wrote:

> 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 <fernando.en...@gmail.com>
> 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 <nimi...@tamu.edu>:
>>
>>> 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
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Warm regards
> Nimish Girdhar
> Department of Electrical and Computer Engineering
> Texas A&M University
>



-- 
Warm regards
Nimish Girdhar
Department of Electrical and Computer Engineering
Texas A&M University
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to