diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-10-20 11:19:45 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-10-20 11:19:45 -0700 |
commit | b73a65445036359642db9293ec88d57dcb8a2e4a (patch) | |
tree | 65c7eb49145378751871de43240a5779d4607e99 /test/cpp/qps/driver.cc | |
parent | bba2f47e8facd03063fa4b7612f84e3781eb9b21 (diff) | |
parent | 247d413f8b59f069ec7c6575f57391332d666288 (diff) |
Merge branch 'master' into new_scenario
Diffstat (limited to 'test/cpp/qps/driver.cc')
-rw-r--r-- | test/cpp/qps/driver.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index 7460bb526a..6c675e3483 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" @@ -438,6 +439,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; |