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 <gem5-users-boun...@gem5.org> on behalf of Google <thakker.wri...@gmail.com> Reply-To: gem5 users mailing list <gem5-users@gem5.org> Date: Tuesday, 10 July 2018 at 09:05 To: "gem5-users@gem5.org" <gem5-users@gem5.org> Subject: Re: [gem5-users] size variable in Packet class 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<uint8_t>() 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 from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 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.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users