Google
2018-07-10 06:50:59 UTC
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 request or transfer, so is it in bits or bytes ?
There is a data pointer (*data, packet.hh line 333). I want to print out the data that this pointer points to for that I need to know the size of the request made and accordingly the data will be printed. So I am not able make out whether size is in terms of bits or bytes.
Thanks in advance.
Regards,
Riddhi
Sent from Mail for Windows 10
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 request or transfer, so is it in bits or bytes ?
There is a data pointer (*data, packet.hh line 333). I want to print out the data that this pointer points to for that I need to know the size of the request made and accordingly the data will be printed. So I am not able make out whether size is in terms of bits or bytes.
Thanks in advance.
Regards,
Riddhi
Sent from Mail for Windows 10