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
This commit is contained in:
parent
f4e2b3fa77
commit
f722bf515c
9 changed files with 5 additions and 20 deletions
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include "base_cpu.hh"
|
||||
#include "cprintf.hh"
|
||||
#include "stats.hh"
|
||||
#include "exec_context.hh"
|
||||
#include "misc.hh"
|
||||
#include "sim_events.hh"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#define __EXEC_CONTEXT_HH__
|
||||
|
||||
#include "host.hh"
|
||||
#include "stats.hh"
|
||||
#include "mem_req.hh"
|
||||
|
||||
// forward declaration: see functional_memory.hh
|
||||
|
|
|
@ -29,9 +29,7 @@
|
|||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
#include "stats.hh"
|
||||
#include "hybrid_pred.hh"
|
||||
|
||||
#include "statistics.hh"
|
||||
#include "sim_stats.hh"
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include "host.hh"
|
||||
#include "misc.hh"
|
||||
#include "stats.hh"
|
||||
|
||||
#include "copyright.hh"
|
||||
#include "inifile.hh"
|
||||
|
@ -227,7 +226,6 @@ main(int argc, char **argv)
|
|||
sayHello(cerr);
|
||||
|
||||
// Initialize statistics database
|
||||
init_old_stats();
|
||||
initBaseStats();
|
||||
|
||||
vector<char *> cppArgs;
|
||||
|
|
|
@ -38,11 +38,10 @@
|
|||
|
||||
#include <list>
|
||||
|
||||
#include "stats.hh"
|
||||
#include "isa_traits.hh"
|
||||
#include "sim_object.hh"
|
||||
|
||||
#include "statistics.hh"
|
||||
#include "sim_stats.hh"
|
||||
#include "statistics.hh"
|
||||
|
||||
class ExecContext;
|
||||
class FunctionalMemory;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include <sstream>
|
||||
|
||||
#include "stats.hh"
|
||||
#include "sat_counter.hh"
|
||||
|
||||
#include "statistics.hh"
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ class SimObject : public Serializeable
|
|||
virtual ~SimObject() {}
|
||||
|
||||
// register statistics for this object
|
||||
virtual void reg_stats(struct stat_sdb_t *sdb);
|
||||
virtual void regStats();
|
||||
virtual void regFormulas();
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "host.hh"
|
||||
#include "cprintf.hh"
|
||||
#include "misc.hh"
|
||||
#include "stats.hh"
|
||||
#include "smt.hh"
|
||||
|
||||
#include "annotation.hh"
|
||||
|
|
Loading…
Reference in a new issue