summaryrefslogtreecommitdiff
path: root/sim/sim_object.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-10-10 10:38:28 -0400
committerNathan Binkert <binkertn@umich.edu>2003-10-10 10:38:28 -0400
commitf722bf515c055847ce44b44a3198a669a7062d33 (patch)
tree4c57e268a24301e4fd098dee3cc741ca1593e6f5 /sim/sim_object.cc
parentf4e2b3fa77e3bd24f3e5921e5c9616c8a82ce36c (diff)
downloadgem5-f722bf515c055847ce44b44a3198a669a7062d33.tar.xz
Remove a ton of old simplescalar crap that we no longer need.
sim/base_cpu.cc: sim/exec_context.hh: sim/hybrid_pred.cc: sim/main.cc: sim/prog.hh: sim/sat_counter.cc: sim/sim_object.cc: sim/sim_object.hh: sim/simple_cpu.cc: old stats begone! --HG-- extra : convert_revision : b0173f13744466b6d9607797b57f7f9bc9bc769f
Diffstat (limited to 'sim/sim_object.cc')
-rw-r--r--sim/sim_object.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/sim/sim_object.cc b/sim/sim_object.cc
index e5506ee8f..3583c30c2 100644
--- a/sim/sim_object.cc
+++ b/sim/sim_object.cc
@@ -35,7 +35,6 @@
#include "misc.hh"
#include "trace.hh"
#include "sim_stats.hh"
-#include "stats.hh"
using namespace std;
@@ -64,11 +63,6 @@ SimObject::SimObject(const string &_name)
// no default statistics, so nothing to do in base implementation
//
void
-SimObject::reg_stats(struct stat_sdb_t *sdb)
-{
-}
-
-void
SimObject::regStats()
{
}
@@ -87,7 +81,9 @@ SimObject::printExtraOutput(ostream &os)
}
//
-// static function: call reg_stats() on all SimObjects.
+// static function:
+// call regStats() on all SimObjects and then regFormulas() on all
+// SimObjects.
//
void
SimObject::regAllStats()
@@ -102,7 +98,6 @@ SimObject::regAllStats()
#ifdef STAT_DEBUG
cprintf("registering stats for %s\n", (*i)->name());
#endif
- (*i)->reg_stats(sim_sdb);
(*i)->regStats();
}