summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/python/m5/SimObject.py3
-rw-r--r--src/python/m5/simulate.py1
-rw-r--r--src/sim/sim_object.cc5
-rw-r--r--src/sim/sim_object.hh1
4 files changed, 1 insertions, 9 deletions
diff --git a/src/python/m5/SimObject.py b/src/python/m5/SimObject.py
index 0f742a3a2..ae6b2035e 100644
--- a/src/python/m5/SimObject.py
+++ b/src/python/m5/SimObject.py
@@ -597,7 +597,6 @@ class SimObject(object):
void loadState(Checkpoint *cp);
void initState();
void regStats();
- void regFormulas();
void resetStats();
void startup();
@@ -707,7 +706,7 @@ class SimObject(object):
# If the attribute exists on the C++ object, transparently
# forward the reference there. This is typically used for
# SWIG-wrapped methods such as init(), regStats(),
- # regFormulas(), resetStats(), startup(), drain(), and
+ # resetStats(), startup(), drain(), and
# resume().
if self._ccObject and hasattr(self._ccObject, attr):
return getattr(self._ccObject, attr)
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py
index 99e3ec989..9cb647a6b 100644
--- a/src/python/m5/simulate.py
+++ b/src/python/m5/simulate.py
@@ -110,7 +110,6 @@ def instantiate(ckpt_dir=None):
# Do a third pass to initialize statistics
for obj in root.descendants(): obj.regStats()
- for obj in root.descendants(): obj.regFormulas()
# We're done registering statistics. Enable the stats package now.
stats.enable()
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc
index 95bc6bf84..422f5095a 100644
--- a/src/sim/sim_object.cc
+++ b/src/sim/sim_object.cc
@@ -105,11 +105,6 @@ SimObject::regStats()
}
void
-SimObject::regFormulas()
-{
-}
-
-void
SimObject::resetStats()
{
}
diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh
index 4388ff584..bbd97557f 100644
--- a/src/sim/sim_object.hh
+++ b/src/sim/sim_object.hh
@@ -126,7 +126,6 @@ class SimObject : public EventManager, public Serializable
// register statistics for this object
virtual void regStats();
- virtual void regFormulas();
virtual void resetStats();
/**