projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eebfda
)
Changes so that time in the packet is actually set properly.
author
Ron Dreslinski
<rdreslin@umich.edu>
Mon, 21 Aug 2006 17:16:46 +0000
(13:16 -0400)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Mon, 21 Aug 2006 17:16:46 +0000
(13:16 -0400)
src/mem/packet.hh:
Make sure packets set the time parameter correctly.
--HG--
extra : convert_revision :
e381d2789e0aaa1b6c2fbde417b7ba5815deec61
src/mem/packet.hh
patch
|
blob
|
history
diff --git
a/src/mem/packet.hh
b/src/mem/packet.hh
index c8b0cdaed60a1a950c59be42df1cdfc38555a1dc..a88c78a783553e22ae2d894e4a69ff41f7806789 100644
(file)
--- 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) {