aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-15 13:08:43 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-15 13:08:43 -0800
commit872e932b09a354525440f9f96ed700bbfad99664 (patch)
treea75de88f00d387ba343084732c7b78bb5cbe4b3d /test/cpp
parent7848b44e960168f70047555cea14530950547192 (diff)
parentc9dbd5b99bf1f932b5290006a1c0e0aef20e8ac6 (diff)
Merge github.com:grpc/grpc into bm_call_create
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/microbenchmarks/bm_fullstack.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc
index 5c85674611..c63de0ce0a 100644
--- a/test/cpp/microbenchmarks/bm_fullstack.cc
+++ b/test/cpp/microbenchmarks/bm_fullstack.cc
@@ -698,6 +698,7 @@ static void BM_StreamingPingPongMsgs(benchmark::State& state) {
}
while (state.KeepRunning()) {
+ GPR_TIMER_SCOPE("BenchmarkCycle", 0);
request_rw->Write(send_request, tag(0)); // Start client send
response_rw.Read(&recv_request, tag(1)); // Start server recv
request_rw->Read(&recv_response, tag(2)); // Start client recv