diff options
author | Nathan Binkert <nate@binkert.org> | 2010-06-15 01:18:36 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-06-15 01:18:36 -0700 |
commit | 86a93fe7b9576045b5e085965ec85692379823e7 (patch) | |
tree | b6132ca65b7a1374212609b1904a316cbad90616 /src/mem/cache | |
parent | 54d813adcaf6d5eda4040c20bae1706b0a78324b (diff) | |
download | gem5-86a93fe7b9576045b5e085965ec85692379823e7.tar.xz |
stats: only consider a formula initialized if there is a formula
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/base.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/cache/base.hh b/src/mem/cache/base.hh index 62e8ae126..2f1088609 100644 --- a/src/mem/cache/base.hh +++ b/src/mem/cache/base.hh @@ -324,12 +324,14 @@ class BaseCache : public MemObject /** Total cycle latency of overall MSHR misses. */ Stats::Formula overallMshrUncacheableLatency; +#if 0 /** The total number of MSHR accesses per command and thread. */ Stats::Formula mshrAccesses[MemCmd::NUM_MEM_CMDS]; /** The total number of demand MSHR accesses. */ Stats::Formula demandMshrAccesses; /** The total number of MSHR accesses. */ Stats::Formula overallMshrAccesses; +#endif /** The miss rate in the MSHRs pre command and thread. */ Stats::Formula mshrMissRate[MemCmd::NUM_MEM_CMDS]; |