projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add in the files to the SConscript for split caches
[gem5.git]
/
base
/
statistics.hh
diff --git
a/base/statistics.hh
b/base/statistics.hh
index 667a0ed486863b9626229d54d14d2298ff2513e0..c46744cac6b4a9b74528748f3e3d94ddf351ca3a 100644
(file)
--- a/
base/statistics.hh
+++ b/
base/statistics.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2003-200
4
The Regents of The University of Michigan
+ * Copyright (c) 2003-200
5
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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 "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;
#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.
*/
* 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;
typedef MainBin DefaultBin;
#else
typedef NoBin DefaultBin;
@@
-2872,12
+2873,6
@@
operator/(Temp l, Temp r)
return NodePtr(new BinaryNode<std::divides<Result> >(l, r));
}
return NodePtr(new BinaryNode<std::divides<Result> >(l, r));
}
-inline Temp
-operator%(Temp l, Temp r)
-{
- return NodePtr(new BinaryNode<std::modulus<Result> >(l, r));
-}
-
inline Temp
operator-(Temp l)
{
inline Temp
operator-(Temp l)
{