summaryrefslogtreecommitdiff
path: root/src/run.h
diff options
context:
space:
mode:
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