Remove a ton of old simplescalar crap that we no longer need.
authorNathan Binkert <binkertn@umich.edu>
Fri, 10 Oct 2003 14:38:28 +0000 (10:38 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 10 Oct 2003 14:38:28 +0000 (10:38 -0400)
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/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

index 43caa1fe463be835ccf9eeae88e9621ef134f1c5..06b2ec65c85bd1e13caf57fa26b82feab0963fed 100644 (file)
@@ -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"
index 56bce0aa9982bfa74ddd4a43100346844bab35e0..988673a0f65101c964670aa48e8997dedfa17b26 100644 (file)
@@ -30,7 +30,6 @@
 #define __EXEC_CONTEXT_HH__
 
 #include "host.hh"
-#include "stats.hh"
 #include "mem_req.hh"
 
 // forward declaration: see functional_memory.hh
index 6a8384083023db9bfa91c3fe4a7b78242aa2afb0..ed7f781b2d2b7fbdf70f836071756380b81ccece 100644 (file)
@@ -29,9 +29,7 @@
 #include <string>
 #include <sstream>
 
-#include "stats.hh"
 #include "hybrid_pred.hh"
-
 #include "statistics.hh"
 #include "sim_stats.hh"
 
index 84f8e78cc08bb7f5ad4e59e0887c58015a684976..ebf96741d1014bbff4f404beac3aa701b47ab7c5 100644 (file)
@@ -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;
index e0439024422c019fb9baf56ab1c0231f31fdd097..0afd06ffd1b6bf5ed1a6500fbeadac60e4569781 100644 (file)
 
 #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;
index bd1b6de0b201aa9a2df52c593eb69aed28e9ffe9..dc365f0f3dbee26d0f0eb46b7700b5224daac6b7 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <sstream>
 
-#include "stats.hh"
 #include "sat_counter.hh"
 
 #include "statistics.hh"
index e5506ee8f4dced6903fe2ac62a55b584c68d089c..3583c30c25af311865e4308aa6124b484ff6bb7b 100644 (file)
@@ -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();
     }
 
index 051c7b304cbf3847d7f1092a4f4dac052573178c..141b58e0a18f24dafd41660c03feb0aca0242a6b 100644 (file)
@@ -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();
 
index 96743d0fa9014ad7b9180d002e04df6b15e8ef8a..41a612318ea62a03eacfa4e6cdf3dccedb662f0f 100644 (file)
@@ -39,7 +39,6 @@
 #include "host.hh"
 #include "cprintf.hh"
 #include "misc.hh"
-#include "stats.hh"
 #include "smt.hh"
 
 #include "annotation.hh"