diff options
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); |