Hi all,
I am asking a very basic question but I am confused as to what the size
variable in Packet class represents. When I ran dram/sweep.py config file, I
saw that the size turns out to 1,4,8, and 64 for different cases. In the
packet.hh, the comment says that size represents the size of requ
eed to include the header
“base/trace.hh”.
Nikos
From: gem5-users on behalf of Google
Reply-To: gem5 users mailing list
Date: Tuesday, 10 July 2018 at 07:51
To: "gem5-users@gem5.org"
Subject: [gem5-users] size variable in Packet class
Hi all,
I am asking a very basic question but I a
Hi Nikos,
Thanks for your prompt reply. I have one more doubt. Suppose the size of the
packet is 64 bytes, and the pointer from getConstPtr() will point to 1
byte data, so for getting all the 64 bytes data, I have to increment this
pointer, right?
Thanks in advance.
Regards,
Riddhi
Sent fro
Hi Riddhi,
Indeed, this is what the DDUMP() macro does, you can either use that or do it
on your own.
Nikos
From: gem5-users on behalf of Google
Reply-To: gem5 users mailing list
Date: Tuesday, 10 July 2018 at 09:05
To: "gem5-users@gem5.org"
Subject: Re: [gem5-users] size v
Hi Nikos,
Thanks once again. I figured that out.
Can you help me in getting instruction trace for ALU ? I tried doing this for
X86 system.
What I am trying to do us to get instruction traces for ALU.
What I did:
There is a file, regop.isa (src/arch/x86/isa/microops/). In this file, at line
506,
ExecEnable,ExecMicro,ExecMacro,ExecUser,ExecKernel will be useful.
Nikos
From: gem5-users on behalf of Google
Reply-To: gem5 users mailing list
Date: Tuesday, 10 July 2018 at 12:13
To: "gem5-users@gem5.org"
Subject: Re: [gem5-users] size variable in Packet class
Hi Nikos,
Thanks onc
Hi Nikos,
Thanks again. You actually did give an useful hint.
I used these flags, and I got following type of data:
system.cpu 0x3698a02f73: movDS:[r12 + 0x340], rsi
system.cpu 0x3698a02f73.0 : MOV_M_R : st rsi, DS:[r12 + 0x340] :
system.cpu 0x3698a02f7b: subrsi,
2018 at 10:52
To: "gem5-users@gem5.org"
Subject: Re: [gem5-users] size variable in Packet class
Hi Nikos,
Thanks again. You actually did give an useful hint.
I used these flags, and I got following type of data:
system.cpu 0x3698a02f73: movDS:[r12 + 0x340], rsi
Hi Nikos,
Thanks for your help.
I tried all possible flags, but I was not able to get the value of those
variables. If you come across any different approach, then do suggest😊
Thanks again.
Riddhi
Sent from Mail for Windows 10
___
gem5-users mai