projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed84388
)
MemReq: Add option to reset the time on a request.
author
Nathan Binkert
<nate@binkert.org>
Sun, 15 Jun 2008 02:39:01 +0000
(19:39 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Sun, 15 Jun 2008 02:39:01 +0000
(19:39 -0700)
src/mem/request.hh
patch
|
blob
|
history
diff --git
a/src/mem/request.hh
b/src/mem/request.hh
index cc9c6b8bfcb626459e4874ca1ed77c74e0f83c03..85ff8a445460e0a7a4172d766ff88bd9c239db1a 100644
(file)
--- 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; }