summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/stattest.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/stattest.cc b/test/stattest.cc
index 57f099344..b944eff45 100644
--- a/test/stattest.cc
+++ b/test/stattest.cc
@@ -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",