From 2f397f314b6724ad82c5cc40bb30aa3148361b09 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 7 Sep 2012 14:20:53 -0500 Subject: 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. --- src/python/m5/SimObject.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/python/m5/SimObject.py') 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) -- cgit v1.2.3