summaryrefslogtreecommitdiff
path: root/src/mem/packet.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-29 15:30:16 -0700
committerNathan Binkert <nate@binkert.org>2009-05-29 15:30:16 -0700
commita0104b6ff6e7a39b068e104504aa1c7c33f1ec23 (patch)
tree4a5e87529bca730d31751e28ba681b80a487173b /src/mem/packet.hh
parent7f50ea05ac848e22a70c9a9471904637aea2f907 (diff)
downloadgem5-a0104b6ff6e7a39b068e104504aa1c7c33f1ec23.tar.xz
request: add accessor and constructor for setting time other than curTick
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r--src/mem/packet.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index 6e804b726..672b00e3c 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -537,7 +537,7 @@ class Packet : public FastAlloc, public Printable
flags = 0;
addr = req->getPaddr();
size = req->getSize();
- time = req->getTime();
+ time = req->time();
flags.set(VALID_ADDR|VALID_SIZE);
deleteData();