summaryrefslogtreecommitdiff
path: root/base/stats/mysql.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-08 17:48:13 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-08 17:48:13 -0400
commit6999918dd4c854b9a65edc606efc488dae7c457e (patch)
tree5f171191f24201ceb9d13779362fb481be37da3c /base/stats/mysql.hh
parentec5dfbccffc92445867890b43634b8db152de369 (diff)
downloadgem5-6999918dd4c854b9a65edc606efc488dae7c457e.tar.xz
Clean up some mysql stuff to make things work again and
hopefully improve performance a tad. base/stats/mysql.cc: - it's not called sample anymore, it's called tick - don't bother to cleanup deleted runs. Doing this for each run is not necessary, it can be done all at once - don't query for a bin id every time, just do it once. - use locking in a few places to prevent two processes from stepping on eachother. - don't duplicate subdata ids. use -1,y and x,-1 base/stats/mysql.hh: It's not called sample anymore, it's called tick --HG-- extra : convert_revision : 95de8498b627c9175da28a66604ec7c719f7804c
Diffstat (limited to 'base/stats/mysql.hh')
-rw-r--r--base/stats/mysql.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stats/mysql.hh b/base/stats/mysql.hh
index 5780009d7..fcbe8c5e0 100644
--- a/base/stats/mysql.hh
+++ b/base/stats/mysql.hh
@@ -76,7 +76,7 @@ class InsertData
MySqlRun *run;
public:
- uint64_t sample;
+ uint64_t tick;
double data;
uint16_t stat;
uint16_t bin;