summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-07 14:20:53 -0500
committerAndreas Sandberg <Andreas.Sandberg@arm.com>2012-09-07 14:20:53 -0500
commit2f397f314b6724ad82c5cc40bb30aa3148361b09 (patch)
tree772ff83fd30ab91d87673634941350d99cbc38c1 /src/sim
parent03ff6120540977e02284d1b49845b3081efa164e (diff)
downloadgem5-2f397f314b6724ad82c5cc40bb30aa3148361b09.tar.xz
sim: Remove the unused SimObject::regFormulas method
Simulation objects normally register derived statistics, presumably what regFormulas originally was meant for, in regStats(). This patch removes regRegformulas since there is no need to have a separate method call to register formulas.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/sim_object.cc5
-rw-r--r--src/sim/sim_object.hh1
2 files changed, 0 insertions, 6 deletions
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();
/**