Get rid of Python stats output option.
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 5 Jun 2005 12:38:47 +0000 (08:38 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 5 Jun 2005 12:38:47 +0000 (08:38 -0400)
--HG--
extra : convert_revision : e53033a2266aed1a1d9c1c9b1c8775a3f1a3f234

SConscript
base/statistics.cc
test/stattest.cc

index 3914616becdcca3f57ae659dcaae691316f02584..202fa5161e8f8d28e00af4b655f7db3594fc6894 100644 (file)
@@ -66,7 +66,6 @@ base_sources = Split('''
        base/misc.cc
        base/output.cc
        base/pollevent.cc
-       base/python.cc
        base/range.cc
        base/random.cc
        base/sat_counter.cc
@@ -84,7 +83,6 @@ base_sources = Split('''
        base/loader/object_file.cc
        base/loader/symtab.cc
        base/stats/events.cc
-       base/stats/python.cc
        base/stats/statdb.cc
        base/stats/visit.cc
        base/stats/text.cc
index 141f5d4da27abbfdcebce725ad016d32d172fc3b..4368f1bcf0f3c15814cb407310c6708477d488f2 100644 (file)
@@ -37,7 +37,6 @@
 #include "base/cprintf.hh"
 #include "base/hostinfo.hh"
 #include "base/misc.hh"
-#include "base/python.hh"
 #include "base/statistics.hh"
 #include "base/str.hh"
 #include "base/time.hh"
index 57f099344692d8e7e55602cd9d6c608cdf9a96c9..b944eff458db2a8579df7eeed6ea165bfacbe68f 100644 (file)
@@ -36,7 +36,6 @@
 #include "base/misc.hh"
 #include "base/statistics.hh"
 #include "base/stats/text.hh"
-#include "base/stats/python.hh"
 #include "base/stats/mysql.hh"
 #include "sim/host.hh"
 
@@ -94,7 +93,7 @@ usage()
 {
     panic("incorrect usage.\n"
           "usage:\n"
-          "\t%s [-p <python file>] [-t [-c] [-d]]\n", progname);
+          "\t%s [-t [-c] [-d]]\n", progname);
 }
 
 int
@@ -103,7 +102,6 @@ main(int argc, char *argv[])
     bool descriptions = false;
     bool compat = false;
     bool text = false;
-    string pyfile;
     string mysql_name;
     string mysql_host;
     string mysql_user = "binkertn";
@@ -125,9 +123,6 @@ main(int argc, char *argv[])
           case 'P':
             mysql_passwd = optarg;
             break;
-          case 'p':
-            pyfile = optarg;
-            break;
           case 's':
             mysql_name = optarg;
             break;
@@ -554,11 +549,6 @@ main(int argc, char *argv[])
         out();
     }
 
-    if (!pyfile.empty()) {
-        Python out(pyfile);
-        out();
-    }
-
     if (!mysql_name.empty()) {
         MySql out;
         out.connect(mysql_host, mysql_user, mysql_passwd, "m5stats",