diff options
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.cc b/src/mem/cache/tags/base_set_assoc.cc index 0d955255a..bb0c20141 100644 --- a/src/mem/cache/tags/base_set_assoc.cc +++ b/src/mem/cache/tags/base_set_assoc.cc @@ -181,8 +181,8 @@ BaseSetAssoc::computeStats() if (blks[i].isValid()) { assert(blks[i].task_id < ContextSwitchTaskId::NumTaskId); occupanciesTaskId[blks[i].task_id]++; + assert(blks[i].tickInserted <= curTick()); Tick age = curTick() - blks[i].tickInserted; - assert(age >= 0); int age_index; if (age / SimClock::Int::us < 10) { // <10us |