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
#include "base_cpu.hh"
#include "cprintf.hh"
-#include "stats.hh"
#include "exec_context.hh"
#include "misc.hh"
#include "sim_events.hh"
#define __EXEC_CONTEXT_HH__
#include "host.hh"
-#include "stats.hh"
#include "mem_req.hh"
// forward declaration: see functional_memory.hh
#include <string>
#include <sstream>
-#include "stats.hh"
#include "hybrid_pred.hh"
-
#include "statistics.hh"
#include "sim_stats.hh"
#include "host.hh"
#include "misc.hh"
-#include "stats.hh"
#include "copyright.hh"
#include "inifile.hh"
sayHello(cerr);
// Initialize statistics database
- init_old_stats();
initBaseStats();
vector<char *> cppArgs;
#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;
#include <sstream>
-#include "stats.hh"
#include "sat_counter.hh"
#include "statistics.hh"
#include "misc.hh"
#include "trace.hh"
#include "sim_stats.hh"
-#include "stats.hh"
using namespace std;
//
// no default statistics, so nothing to do in base implementation
//
-void
-SimObject::reg_stats(struct stat_sdb_t *sdb)
-{
-}
-
void
SimObject::regStats()
{
}
//
-// static function: call reg_stats() on all SimObjects.
+// static function:
+// call regStats() on all SimObjects and then regFormulas() on all
+// SimObjects.
//
void
SimObject::regAllStats()
#ifdef STAT_DEBUG
cprintf("registering stats for %s\n", (*i)->name());
#endif
- (*i)->reg_stats(sim_sdb);
(*i)->regStats();
}
virtual ~SimObject() {}
// register statistics for this object
- virtual void reg_stats(struct stat_sdb_t *sdb);
virtual void regStats();
virtual void regFormulas();
#include "host.hh"
#include "cprintf.hh"
#include "misc.hh"
-#include "stats.hh"
#include "smt.hh"
#include "annotation.hh"