From f722bf515c055847ce44b44a3198a669a7062d33 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 10 Oct 2003 10:38:28 -0400 Subject: 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 --- sim/sim_object.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sim/sim_object.cc') 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; @@ -63,11 +62,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(); } -- cgit v1.2.3