diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-08-21 13:16:46 -0400 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-08-21 13:16:46 -0400 |
commit | 825a7aadd24493e4cdf9590434134a31a8548cbe (patch) | |
tree | a43bdfd720c5e897be951e8d047b3ffd4f41be89 /src/mem | |
parent | 6eebfda2d9a4613d8357a2f266289311240a0a1b (diff) | |
download | gem5-825a7aadd24493e4cdf9590434134a31a8548cbe.tar.xz |
Changes so that time in the packet is actually set properly.
src/mem/packet.hh:
Make sure packets set the time parameter correctly.
--HG--
extra : convert_revision : e381d2789e0aaa1b6c2fbde417b7ba5815deec61
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/packet.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh index c8b0cdaed..a88c78a78 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -266,6 +266,7 @@ class Packet result(Unknown) { flags = 0; + time = curTick; } /** Alternate constructor if you are trying to create a packet with @@ -280,6 +281,7 @@ class Packet result(Unknown) { flags = 0; + time = curTick; } /** Destructor. */ @@ -295,6 +297,7 @@ class Packet assert(req->validPaddr); addr = req->paddr; size = req->size; + time = req->time; addrSizeValid = true; result = Unknown; if (dynamicData) { |