summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/request.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index cc9c6b8bf..85ff8a445 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -220,6 +220,7 @@ class Request : public FastAlloc
int getSize() { assert(validPaddr || validAsidVaddr); return size; }
/** Accessor for time. */
Tick getTime() { assert(validPaddr || validAsidVaddr); return time; }
+ void resetTime() { assert(validPaddr || validAsidVaddr); time = curTick; }
/** Accessor for flags. */
uint32_t getFlags() { assert(validPaddr || validAsidVaddr); return flags; }