diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-05-10 11:30:21 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-05-17 14:37:40 +0000 |
commit | 91529294470235e6e7b3128bca6c5b8783f35529 (patch) | |
tree | eaba55d651324f4ce0c663afda8ae9c201e264b7 /src/mem/cache/base.cc | |
parent | d1c7d7b872a07a6c5a12e379205df21d298f044f (diff) | |
download | gem5-91529294470235e6e7b3128bca6c5b8783f35529.tar.xz |
mem-cache: Move replacements stat to the base cache class
Change-Id: I25dbcfcddfe1c422a76eb1af3f726c1360d8d110
Reviewed-on: https://gem5-review.googlesource.com/10426
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem/cache/base.cc')
-rw-r--r-- | src/mem/cache/base.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/cache/base.cc b/src/mem/cache/base.cc index 2c7d9fb68..8143acd67 100644 --- a/src/mem/cache/base.cc +++ b/src/mem/cache/base.cc @@ -758,4 +758,8 @@ BaseCache::regStats() overallAvgMshrUncacheableLatency.subname(i, system->getMasterName(i)); } + replacements + .name(name() + ".replacements") + .desc("number of replacements") + ; } |