diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-06-28 15:53:06 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-06-28 15:53:06 -0400 |
commit | efd119881a3cf24902b8a073492a5ba57e5f3a83 (patch) | |
tree | 0c30e4fc7806d691d0bbc7519ebed9093043b01c /base/stats/mysql_run.hh | |
parent | 75ed8090bf34c38123c779a7f040108268d32a1b (diff) | |
download | gem5-efd119881a3cf24902b8a073492a5ba57e5f3a83.tar.xz |
add support to add a string to indicate a particular sample of a run
name to make statistical sampling easier.
--HG--
extra : convert_revision : b24db4ef747b8ef00a0131db237e97de60c27dc3
Diffstat (limited to 'base/stats/mysql_run.hh')
-rw-r--r-- | base/stats/mysql_run.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/stats/mysql_run.hh b/base/stats/mysql_run.hh index 0f8d84297..3e19a184e 100644 --- a/base/stats/mysql_run.hh +++ b/base/stats/mysql_run.hh @@ -46,10 +46,11 @@ struct MySqlRun bool connected() const { return mysql.connected(); } void connect(const std::string &host, const std::string &user, const std::string &passwd, const std::string &db, - const std::string &name, const std::string &project); + const std::string &name, const std::string &sample, + const std::string &project); - void setup(const std::string &name, const std::string &user, - 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(); |