summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
committerNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
commitcc95b5739097e31fdaa36a3ff443861969e338b1 (patch)
treeebcf51fd9ba4480bfb5a444320f8447d1f1ecd2d /src/sim
parentc7e82f965fa40b4a377a6ddedcdeb542a43ae7c5 (diff)
downloadgem5-cc95b5739097e31fdaa36a3ff443861969e338b1.tar.xz
stats: Fix all stats usages to deal with template fixes
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/faults.hh2
-rw-r--r--src/sim/process.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index cfc6ad105..75696641b 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -41,7 +41,7 @@ class FaultBase;
typedef RefCountingPtr<FaultBase> Fault;
typedef const char * FaultName;
-typedef Stats::Scalar<> FaultStat;
+typedef Stats::Scalar FaultStat;
// Each class has it's name statically define in _name,
// and has a virtual function to access it's name.
diff --git a/src/sim/process.hh b/src/sim/process.hh
index 790adcb87..527209467 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -137,7 +137,7 @@ class Process : public SimObject
std::string prog_fname; // file name
- Stats::Scalar<> num_syscalls; // number of syscalls executed
+ Stats::Scalar num_syscalls; // number of syscalls executed
protected: