summaryrefslogtreecommitdiff
path: root/src/run.h
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-11-28 17:02:57 +0100
committerTim Besard <tim.besard@gmail.com>2011-11-28 17:02:57 +0100
commit9177ded4c99840b02ea9e45ae90c287492785711 (patch)
tree42e7f485fa69c828e5275a930e0d471a3b9ab9e9 /src/run.h
parent3f20310855342804fe4299c1ae4a845aefd62798 (diff)
Improving CSV output.
Diffstat (limited to 'src/run.h')
-rw-r--r--src/run.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/run.h b/src/run.h
index 486240b..5358a49 100644
--- a/src/run.h
+++ b/src/run.h
@@ -18,6 +18,10 @@
#if !defined(RUN_H)
#define RUN_H
+// System includes
+#include <vector>
+
+
// Local includes
#include "thread.h"
#include "lock.h"
@@ -41,7 +45,7 @@ public:
static int64 ops_per_chain() {
return _ops_per_chain;
}
- static double seconds() {
+ static std::vector<double> seconds() {
return _seconds;
}
@@ -56,7 +60,7 @@ private:
static Lock global_mutex; // global lock
static int64 _ops_per_chain; // total number of operations per chain
- static double _seconds; // total number of seconds
+ static std::vector<double> _seconds; // number of seconds for each experiment
};
#endif