X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=base%2Fstatistics.hh;h=c46744cac6b4a9b74528748f3e3d94ddf351ca3a;hb=5aa71721193c49016ffa69934b44ce38672e4eed;hp=667a0ed486863b9626229d54d14d2298ff2513e0;hpb=e8a564b0fdd8c5b6ae8f73613e3ad25005556ec5;p=gem5.git diff --git a/base/statistics.hh b/base/statistics.hh index 667a0ed48..c46744cac 100644 --- a/base/statistics.hh +++ b/base/statistics.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2004 The Regents of The University of Michigan + * Copyright (c) 2003-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -62,6 +62,7 @@ #include "base/stats/flags.hh" #include "base/stats/visit.hh" #include "base/stats/types.hh" +#include "config/stats_binning.hh" #include "sim/host.hh" class Callback; @@ -2184,7 +2185,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(STATS_BINNING) +#if STATS_BINNING typedef MainBin DefaultBin; #else typedef NoBin DefaultBin; @@ -2872,12 +2873,6 @@ operator/(Temp l, Temp r) return NodePtr(new BinaryNode >(l, r)); } -inline Temp -operator%(Temp l, Temp r) -{ - return NodePtr(new BinaryNode >(l, r)); -} - inline Temp operator-(Temp l) {