summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-03-26 05:43:29 -0500
committerNathan Binkert <binkertn@umich.edu>2004-03-26 05:43:29 -0500
commit13483c98be4ad4976f029f7856edbd2f8437fcd8 (patch)
treee2d82f2ddbb91752b3622f282298ffcbea16e9b4 /sim
parentf299bb01aca07b92e53b34db63dfa7a486e004d3 (diff)
downloadgem5-13483c98be4ad4976f029f7856edbd2f8437fcd8.tar.xz
Get rid of the printExtraOutput stuff
--HG-- extra : convert_revision : d82718ad4b3c5dd56a99c727e78b39917f9d4541
Diffstat (limited to 'sim')
-rw-r--r--sim/sim_object.cc23
-rw-r--r--sim/sim_object.hh7
2 files changed, 0 insertions, 30 deletions
diff --git a/sim/sim_object.cc b/sim/sim_object.cc
index c55021e41..5534ea840 100644
--- a/sim/sim_object.cc
+++ b/sim/sim_object.cc
@@ -84,14 +84,6 @@ SimObject::resetStats()
}
//
-// no default extra output
-//
-void
-SimObject::printExtraOutput(ostream &os)
-{
-}
-
-//
// static function:
// call regStats() on all SimObjects and then regFormulas() on all
// SimObjects.
@@ -162,21 +154,6 @@ SimObject::resetAllStats()
}
//
-// static function: call printExtraOutput() on all SimObjects.
-//
-void
-SimObject::printAllExtraOutput(ostream &os)
-{
- SimObjectList::iterator i = simObjectList.begin();
- SimObjectList::iterator end = simObjectList.end();
-
- for (; i != end; ++i) {
- SimObject *obj = *i;
- obj->printExtraOutput(os);
- }
-}
-
-//
// static function: serialize all SimObjects.
//
void
diff --git a/sim/sim_object.hh b/sim/sim_object.hh
index aaaafc04b..b1dd19475 100644
--- a/sim/sim_object.hh
+++ b/sim/sim_object.hh
@@ -74,19 +74,12 @@ class SimObject : public Serializable
virtual void regFormulas();
virtual void resetStats();
- // print extra results for this object not covered by registered
- // statistics (called at end of simulation)
- virtual void printExtraOutput(std::ostream&);
-
// static: call reg_stats on all SimObjects
static void regAllStats();
// static: call resetStats on all SimObjects
static void resetAllStats();
- // static: call printExtraOutput on all SimObjects
- static void printAllExtraOutput(std::ostream&);
-
// static: call nameOut() & serialize() on all SimObjects
static void serializeAll(std::ostream &);
};