From 86a93fe7b9576045b5e085965ec85692379823e7 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 15 Jun 2010 01:18:36 -0700 Subject: stats: only consider a formula initialized if there is a formula --- src/mem/cache/base.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mem') 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]; -- cgit v1.2.3