diff options
author | Benjamin Nash <benash@umich.edu> | 2005-06-13 12:32:48 -0400 |
---|---|---|
committer | Benjamin Nash <benash@umich.edu> | 2005-06-13 12:32:48 -0400 |
commit | 129417d7cb0fd2aededc50a844f8a98d4128906b (patch) | |
tree | e059c90cf581185215951eb57fafc1c8dc2e6804 /base/stats/mysql_run.hh | |
parent | aa1ebaca33a3a3c691fa4b4de6d5f80b80db32d5 (diff) | |
parent | 25788181841e47fd2fee1e908660ff93b5fdf77c (diff) | |
download | gem5-129417d7cb0fd2aededc50a844f8a98d4128906b.tar.xz |
Merge m5read@m5.eecs.umich.edu:/bk/m5
into zed.eecs.umich.edu:/.automount/fox/y/benash/bk/m5
--HG--
extra : convert_revision : 73a3fe048bd3f382454c10524fc4c93d3f117d6a
Diffstat (limited to 'base/stats/mysql_run.hh')
-rw-r--r-- | base/stats/mysql_run.hh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/base/stats/mysql_run.hh b/base/stats/mysql_run.hh index a58244d80..d8dcb7594 100644 --- a/base/stats/mysql_run.hh +++ b/base/stats/mysql_run.hh @@ -42,6 +42,13 @@ struct MySqlRun MySQL::Connection mysql; uint16_t run_id; + protected: + void setup(const std::string &name, const std::string &sample, + const std::string &user, const std::string &project); + + void remove(const std::string &name); + void cleanup(); + public: bool connected() const { return mysql.connected(); } void connect(const std::string &host, const std::string &user, @@ -49,12 +56,6 @@ struct MySqlRun const std::string &name, const std::string &sample, const std::string &project); - void setup(const std::string &name, const std::string &sample, - const std::string &user, const std::string &project); - - void remove(const std::string &name); - void cleanup(); - MySQL::Connection &conn() { return mysql; } uint16_t run() const { return run_id; } }; |