diff options
author | Nathan Binkert <nate@binkert.org> | 2011-05-12 11:19:35 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-05-12 11:19:35 -0700 |
commit | f7b3900c133cd8661588a03383a8c1511f8a89ff (patch) | |
tree | 0d7587e881d6c2fbf3439eaa5a20dc03ffd0b40d /src/python | |
parent | 1177e7a3c861d77360074e97661952d427cd8640 (diff) | |
download | gem5-f7b3900c133cd8661588a03383a8c1511f8a89ff.tar.xz |
stats: delete mysql support
we can add it back within python in some future changeset
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/stats/__init__.py | 10 | ||||
-rw-r--r-- | src/python/swig/stats.i | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/python/m5/stats/__init__.py b/src/python/m5/stats/__init__.py index f6da096f0..9b5af84fb 100644 --- a/src/python/m5/stats/__init__.py +++ b/src/python/m5/stats/__init__.py @@ -39,16 +39,6 @@ def initText(filename, desc=True): output = internal.stats.initText(filename, desc) outputList.append(output) -def initMySQL(host, database, user='', passwd='', project='test', name='test', - sample='0'): - if not user: - import getpass - user = getpass.getuser() - - output = internal.stats.initMySQL(host, database, user, passwd, - project, name, sample) - outputList.append(output) - def initSimStats(): internal.stats.initSimStats() diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i index 0633a8c27..0213d5c01 100644 --- a/src/python/swig/stats.i +++ b/src/python/swig/stats.i @@ -36,7 +36,6 @@ %include <stdint.i> %{ -#include "base/stats/mysql.hh" #include "base/stats/text.hh" #include "base/stats/types.hh" #include "base/callback.hh" @@ -141,9 +140,6 @@ template <class T> T cast_info(Info *info); void initSimStats(); Output *initText(const std::string &filename, bool desc); -Output *initMySQL(std::string host, std::string database, std::string user, - std::string passwd, std::string project, std::string name, - std::string sample); void schedStatEvent(bool dump, bool reset, Tick when = curTick(), Tick repeat = 0); |