summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/base.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/tags/base.hh')
-rw-r--r--src/mem/cache/tags/base.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/cache/tags/base.hh b/src/mem/cache/tags/base.hh
index 5c9f46a41..2c528a983 100644
--- a/src/mem/cache/tags/base.hh
+++ b/src/mem/cache/tags/base.hh
@@ -86,7 +86,7 @@ class BaseTags : public ClockedObject
* The number of tags that need to be touched to meet the warmup
* percentage.
*/
- int warmupBound;
+ const unsigned warmupBound;
/** Marked true when the cache is warmed up. */
bool warmedUp;
@@ -95,6 +95,7 @@ class BaseTags : public ClockedObject
// Statistics
/**
+ * TODO: It would be good if these stats were acquired after warmup.
* @addtogroup CacheStatistics
* @{
*/
@@ -120,7 +121,7 @@ class BaseTags : public ClockedObject
*/
Stats::Formula avgRefs;
- /** The cycle that the warmup percentage was hit. */
+ /** The cycle that the warmup percentage was hit. 0 on failure. */
Stats::Scalar warmupCycle;
/** Average occupancy of each requestor using the cache */