diff options
author | Tim Besard <tim.besard@gmail.com> | 2011-11-28 17:02:57 +0100 |
---|---|---|
committer | Tim Besard <tim.besard@gmail.com> | 2011-11-28 17:02:57 +0100 |
commit | 9177ded4c99840b02ea9e45ae90c287492785711 (patch) | |
tree | 42e7f485fa69c828e5275a930e0d471a3b9ab9e9 /src/run.h | |
parent | 3f20310855342804fe4299c1ae4a845aefd62798 (diff) |
Improving CSV output.
Diffstat (limited to 'src/run.h')
-rw-r--r-- | src/run.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |