summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-06 19:22:39 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-06 19:22:39 -0400
commit2fecc3c785e4f618bfb64fce93120eade9bdda9d (patch)
treeaaa34e3ec73f285ce3122fa3014c24d082afe4c2
parent347166d90820c1f365ca809398054a2b6d8cbafe (diff)
downloadgem5-2fecc3c785e4f618bfb64fce93120eade9bdda9d.tar.xz
Make binning work with stuff other than FS_MEASURE
--HG-- extra : convert_revision : e3fa3cfbdf2f13dd3a8d2266dd64c2c335f998d6
-rw-r--r--base/statistics.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/statistics.hh b/base/statistics.hh
index bd1698ae7..f3b8a3922 100644
--- a/base/statistics.hh
+++ b/base/statistics.hh
@@ -2184,7 +2184,7 @@ class SumNode : public Node
* binned. If the typedef is NoBin, nothing is binned. If it is
* MainBin, then all stats are binned under that Bin.
*/
-#if defined(FS_MEASURE)
+#if defined(FS_MEASURE) || defined(STATS_BINNING)
typedef MainBin DefaultBin;
#else
typedef NoBin DefaultBin;