Re: [gem5-users] DPRINTF statements in gem5

2015-07-01 Thread girija sameera
Thank you for the reply. I am trying to identify where I can obtain the
core ids of the different processors involved while using
MOESI_CMP_directory protocol in X86 . For this I thought a viable approach
would be to print different variables that I'll find in the files . Which
flag should I use for this ?

P.S. I would love to hear if there could be other approaches to finding
these ids.

Thank you
K Girija Sameera

On Wed, Jul 1, 2015 at 10:09 PM, kassan unda  wrote:

> Open one of the files and look for a Dprintf statement. It should be good
> enough to understand how to put one by yourself. You have to use a flag
> with it and use that flag with the --debug-flags option. You can also use
> your custom flag if you want.
>
> *Regards,*
> *Kassan Unda*
>
> *Doctoral Candidate*
> *Computer Engineering*
> *Missouri S&T (Formerly University of Missouri Rolla)*
> *WebPage: http://web.mst.edu/~kutx9 *
>
> *"Do not go where the path may lead, go instead where there is no path
> and leave a trail."* Ralph Waldo Emerson
>
>
> On Wed, Jul 1, 2015 at 8:40 AM, Daniel Byrne  wrote:
>
>> Yes, you can. Use the debugging flags when running gem5 as mentioned
>> here: http://www.m5sim.org/Trace_Based_Debugging
>>
>> On Wed, Jul 1, 2015 at 5:21 AM, girija sameera 
>> wrote:
>>
>>> Thank you for the reply , Daniel . I am using gem5.opt and the
>>> description given above the table says DPRINTFs have been left in , does
>>> that mean I can use it to view DRINTF statements?
>>>
>>> On Thu, Jun 25, 2015 at 11:25 PM, Daniel Byrne  wrote:
>>>
 Hello,

 You can turn on the debugging flags when you execute gem5. See this
 http://www.m5sim.org/Trace_Based_Debugging

 Note: Also you must be running a version of gem5 that has debugging
 support. See the table of gem5 binaries:
 http://www.m5sim.org/Build_System

 On Thu, Jun 25, 2015 at 11:01 AM, girija sameera <
 girijasame...@gmail.com> wrote:

> Hello,
>
> Being new gem5 I have no idea as to how one might view the statements
> printed using the DPRINTF statement.
> Could someone kindly tell me the command and/or output file involved.
>
> Thank you
>  K Girija Sameera
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



 --
 Daniel Byrne
 Computer Science
 Varsity Cross-Country and Track & Field
 Student Athlete Advisory Committee

 ___
 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
>>>
>>
>>
>>
>> --
>> Daniel Byrne
>> Computer Science
>> Varsity Cross-Country and Track & Field
>> Student Athlete Advisory Committee
>>
>> ___
>> 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
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] when happened the miss in L2cache

2015-07-01 Thread Bahareh Jafari
Hi Dears

I am looking for the position of  miss happened in the cache l2 in
src/mem/cache,where miss event occur?

thanks
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Help to understand memory trace

2015-07-01 Thread Prathap Kolakkampadath
Thanks Andreas.

On Wed, Jul 1, 2015 at 2:42 PM, Andreas Hansson 
wrote:

>  Hi Prathap.
>
>  Have a look at src/proto/packet.proto. The ASCII output is not really
> intended to be used for anything besides “checking”.
>
>  The fields in the trace correspond to the enums in src/mem/packet.hh and
> src/mem/request.hh
>
>  Andreas
>
>   From: gem5-users  on behalf of Prathap
> Kolakkampadath 
> Reply-To: gem5 users mailing list 
> Date: Wednesday, 1 July 2015 11:53
> To: gem5 users mailing list 
> Subject: [gem5-users] Help to understand memory trace
>
>Hello Users,
>
>  I am analyzing the memory access pattern of a benchmark. For which i have
> connected the communication monitor between cpu and dcache and obtained the
> trace. The snippet of trace looks like below.
>
> w,2174471252,4,66,850031503453000
> w,2174471256,4,66,850031503453250
> w,2174471260,4,66,850031503453500
> r,2282845416,4,74,850031503516750
> r,4017452700,4,74,850031503518250
> u,4017452700,4,2097218,850031503521500
> u,4017452700,4,2097218,850031503524000
> w,2174471204,4,66,850031503531500
>
>  Here i could see some packet are marked with  commands 'u'(not read nor
> write). What does this mean?
>  Also i am trying to understand the flag values(66, 74, 2097218). Can
> anyone help me in understanding what do these flag values indicate?
>
>  Thanks,
>  Prathap Kumar Valsan
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
> ___
> 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

Re: [gem5-users] Help to understand memory trace

2015-07-01 Thread Andreas Hansson
Hi Prathap.

Have a look at src/proto/packet.proto. The ASCII output is not really intended 
to be used for anything besides “checking”.

The fields in the trace correspond to the enums in src/mem/packet.hh and 
src/mem/request.hh

Andreas

From: gem5-users 
mailto:gem5-users-boun...@gem5.org>> on behalf of 
Prathap Kolakkampadath mailto:kvprat...@gmail.com>>
Reply-To: gem5 users mailing list 
mailto:gem5-users@gem5.org>>
Date: Wednesday, 1 July 2015 11:53
To: gem5 users mailing list mailto:gem5-users@gem5.org>>
Subject: [gem5-users] Help to understand memory trace

Hello Users,

I am analyzing the memory access pattern of a benchmark. For which i have 
connected the communication monitor between cpu and dcache and obtained the 
trace. The snippet of trace looks like below.

w,2174471252,4,66,850031503453000
w,2174471256,4,66,850031503453250
w,2174471260,4,66,850031503453500
r,2282845416,4,74,850031503516750
r,4017452700,4,74,850031503518250
u,4017452700,4,2097218,850031503521500
u,4017452700,4,2097218,850031503524000
w,2174471204,4,66,850031503531500

Here i could see some packet are marked with  commands 'u'(not read nor write). 
What does this mean?
Also i am trying to understand the flag values(66, 74, 2097218). Can anyone 
help me in understanding what do these flag values indicate?

Thanks,
Prathap Kumar Valsan


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Help to understand memory trace

2015-07-01 Thread Prathap Kolakkampadath
Hello Users,

I am analyzing the memory access pattern of a benchmark. For which i have
connected the communication monitor between cpu and dcache and obtained the
trace. The snippet of trace looks like below.

w,2174471252,4,66,850031503453000
w,2174471256,4,66,850031503453250
w,2174471260,4,66,850031503453500
r,2282845416,4,74,850031503516750
r,4017452700,4,74,850031503518250
u,4017452700,4,2097218,850031503521500
u,4017452700,4,2097218,850031503524000
w,2174471204,4,66,850031503531500

Here i could see some packet are marked with  commands 'u'(not read nor
write). What does this mean?
Also i am trying to understand the flag values(66, 74, 2097218). Can anyone
help me in understanding what do these flag values indicate?

Thanks,
Prathap Kumar Valsan
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] DPRINTF statements in gem5

2015-07-01 Thread kassan unda
Open one of the files and look for a Dprintf statement. It should be good
enough to understand how to put one by yourself. You have to use a flag
with it and use that flag with the --debug-flags option. You can also use
your custom flag if you want.

*Regards,*
*Kassan Unda*

*Doctoral Candidate*
*Computer Engineering*
*Missouri S&T (Formerly University of Missouri Rolla)*
*WebPage: http://web.mst.edu/~kutx9 *

*"Do not go where the path may lead, go instead where there is no path  and
leave a trail."* Ralph Waldo Emerson


On Wed, Jul 1, 2015 at 8:40 AM, Daniel Byrne  wrote:

> Yes, you can. Use the debugging flags when running gem5 as mentioned here:
> http://www.m5sim.org/Trace_Based_Debugging
>
> On Wed, Jul 1, 2015 at 5:21 AM, girija sameera 
> wrote:
>
>> Thank you for the reply , Daniel . I am using gem5.opt and the
>> description given above the table says DPRINTFs have been left in , does
>> that mean I can use it to view DRINTF statements?
>>
>> On Thu, Jun 25, 2015 at 11:25 PM, Daniel Byrne  wrote:
>>
>>> Hello,
>>>
>>> You can turn on the debugging flags when you execute gem5. See this
>>> http://www.m5sim.org/Trace_Based_Debugging
>>>
>>> Note: Also you must be running a version of gem5 that has debugging
>>> support. See the table of gem5 binaries:
>>> http://www.m5sim.org/Build_System
>>>
>>> On Thu, Jun 25, 2015 at 11:01 AM, girija sameera <
>>> girijasame...@gmail.com> wrote:
>>>
 Hello,

 Being new gem5 I have no idea as to how one might view the statements
 printed using the DPRINTF statement.
 Could someone kindly tell me the command and/or output file involved.

 Thank you
  K Girija Sameera

 ___
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

>>>
>>>
>>>
>>> --
>>> Daniel Byrne
>>> Computer Science
>>> Varsity Cross-Country and Track & Field
>>> Student Athlete Advisory Committee
>>>
>>> ___
>>> 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
>>
>
>
>
> --
> Daniel Byrne
> Computer Science
> Varsity Cross-Country and Track & Field
> Student Athlete Advisory Committee
>
> ___
> 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

Re: [gem5-users] DPRINTF statements in gem5

2015-07-01 Thread Daniel Byrne
Yes, you can. Use the debugging flags when running gem5 as mentioned here:
http://www.m5sim.org/Trace_Based_Debugging

On Wed, Jul 1, 2015 at 5:21 AM, girija sameera 
wrote:

> Thank you for the reply , Daniel . I am using gem5.opt and the description
> given above the table says DPRINTFs have been left in , does that mean I
> can use it to view DRINTF statements?
>
> On Thu, Jun 25, 2015 at 11:25 PM, Daniel Byrne  wrote:
>
>> Hello,
>>
>> You can turn on the debugging flags when you execute gem5. See this
>> http://www.m5sim.org/Trace_Based_Debugging
>>
>> Note: Also you must be running a version of gem5 that has debugging
>> support. See the table of gem5 binaries:
>> http://www.m5sim.org/Build_System
>>
>> On Thu, Jun 25, 2015 at 11:01 AM, girija sameera > > wrote:
>>
>>> Hello,
>>>
>>> Being new gem5 I have no idea as to how one might view the statements
>>> printed using the DPRINTF statement.
>>> Could someone kindly tell me the command and/or output file involved.
>>>
>>> Thank you
>>>  K Girija Sameera
>>>
>>> ___
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>>
>> --
>> Daniel Byrne
>> Computer Science
>> Varsity Cross-Country and Track & Field
>> Student Athlete Advisory Committee
>>
>> ___
>> 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
>



-- 
Daniel Byrne
Computer Science
Varsity Cross-Country and Track & Field
Student Athlete Advisory Committee
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] DPRINTF statements in gem5

2015-07-01 Thread girija sameera
Thank you for the reply , Daniel . I am using gem5.opt and the description
given above the table says DPRINTFs have been left in , does that mean I
can use it to view DRINTF statements?

On Thu, Jun 25, 2015 at 11:25 PM, Daniel Byrne  wrote:

> Hello,
>
> You can turn on the debugging flags when you execute gem5. See this
> http://www.m5sim.org/Trace_Based_Debugging
>
> Note: Also you must be running a version of gem5 that has debugging
> support. See the table of gem5 binaries: http://www.m5sim.org/Build_System
>
> On Thu, Jun 25, 2015 at 11:01 AM, girija sameera 
> wrote:
>
>> Hello,
>>
>> Being new gem5 I have no idea as to how one might view the statements
>> printed using the DPRINTF statement.
>> Could someone kindly tell me the command and/or output file involved.
>>
>> Thank you
>>  K Girija Sameera
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Daniel Byrne
> Computer Science
> Varsity Cross-Country and Track & Field
> Student Athlete Advisory Committee
>
> ___
> 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