summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache_blk.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/cache_blk.hh')
-rw-r--r--src/mem/cache/cache_blk.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mem/cache/cache_blk.hh b/src/mem/cache/cache_blk.hh
index dce0ce434..42b8ebd25 100644
--- a/src/mem/cache/cache_blk.hh
+++ b/src/mem/cache/cache_blk.hh
@@ -345,7 +345,8 @@ class CacheBlk : public ReplaceableEntry
*
* @return string with basic state information
*/
- virtual std::string print() const
+ std::string
+ print() const override
{
/**
* state M O E S I
@@ -382,9 +383,9 @@ class CacheBlk : public ReplaceableEntry
default: s = 'T'; break; // @TODO add other types
}
return csprintf("state: %x (%c) valid: %d writable: %d readable: %d "
- "dirty: %d | tag: %#x set: %#x way: %#x", status, s,
+ "dirty: %d | tag: %#x %s", status, s,
isValid(), isWritable(), isReadable(), isDirty(), tag,
- getSet(), getWay());
+ ReplaceableEntry::print());
}
/**