summaryrefslogtreecommitdiff
path: root/test/performance/client.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-07-06 21:25:55 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-07-06 21:25:55 +0200
commit77325b8974e19188fc5afad1447d4df4f9ae30fd (patch)
treeec5c44ea16d704242b0c4b615d382f2b88ae3459 /test/performance/client.hpp
parent2d665099ef6b14713beb0cac1bd405073a49e791 (diff)
Added an option to the performance clients to do a warm-up run before timing
Diffstat (limited to 'test/performance/client.hpp')
-rw-r--r--test/performance/client.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/performance/client.hpp b/test/performance/client.hpp
index 5ff2aec7..6d35fced 100644
--- a/test/performance/client.hpp
+++ b/test/performance/client.hpp
@@ -82,6 +82,9 @@ class Client {
const std::vector<std::string> options_;
const GetMetric get_flops_;
const GetMetric get_bytes_;
+
+ // Extra arguments
+ bool warm_up_; // if enabled, do a warm-up run first before measuring execution time
};
// =================================================================================================