MemReq: Add option to reset the time on a request.
This commit is contained in:
parent
ed84388b85
commit
fe325c7f43
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ class Request : public FastAlloc
|
||||||
int getSize() { assert(validPaddr || validAsidVaddr); return size; }
|
int getSize() { assert(validPaddr || validAsidVaddr); return size; }
|
||||||
/** Accessor for time. */
|
/** Accessor for time. */
|
||||||
Tick getTime() { assert(validPaddr || validAsidVaddr); return time; }
|
Tick getTime() { assert(validPaddr || validAsidVaddr); return time; }
|
||||||
|
void resetTime() { assert(validPaddr || validAsidVaddr); time = curTick; }
|
||||||
|
|
||||||
/** Accessor for flags. */
|
/** Accessor for flags. */
|
||||||
uint32_t getFlags() { assert(validPaddr || validAsidVaddr); return flags; }
|
uint32_t getFlags() { assert(validPaddr || validAsidVaddr); return flags; }
|
||||||
|
|
Loading…
Reference in a new issue