aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/driver.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-31 17:30:03 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-08-31 17:30:03 -0700
commitce475062ad5a879f5aae2af58a9644bfdf939e38 (patch)
tree1af559f3e6132fe49c9e3281fe18580217a2cf7d /test/cpp/qps/driver.cc
parent7ca00497e89ca755930b8e6b4cbaeee38d344b7d (diff)
parent83b4d3ef4e34bb45cfd9998716d3a21cc003e1ea (diff)
Merge branch 'merge-write' of github.com:ctiller/grpc into grand-unified-closures
Diffstat (limited to 'test/cpp/qps/driver.cc')
-rw-r--r--test/cpp/qps/driver.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc
index 93f9271553..969d5c6d7b 100644
--- a/test/cpp/qps/driver.cc
+++ b/test/cpp/qps/driver.cc
@@ -45,6 +45,7 @@
#include <grpc/support/host_port.h>
#include <grpc/support/log.h>
+#include "src/core/lib/profiling/timers.h"
#include "src/core/lib/support/env.h"
#include "src/proto/grpc/testing/services.grpc.pb.h"
#include "test/core/util/port.h"
@@ -416,6 +417,8 @@ std::unique_ptr<ScenarioResult> RunScenario(
start,
gpr_time_from_seconds(warmup_seconds + benchmark_seconds, GPR_TIMESPAN)));
+ gpr_timer_set_enabled(0);
+
// Finish a run
std::unique_ptr<ScenarioResult> result(new ScenarioResult);
Histogram merged_latencies;