diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-13 08:56:36 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-13 08:56:36 -0800 |
commit | e7c60e62821bdf8cf980328a36499614458fd052 (patch) | |
tree | bbf9325a708236585626df1c21a4de28fff4d93a /test | |
parent | bc185e30a786eff01afb97c67efd677a2f54c9d1 (diff) |
Make latency traces more useful
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/microbenchmarks/bm_fullstack.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc index 9d883e68d7..549fdb5bc7 100644 --- a/test/cpp/microbenchmarks/bm_fullstack.cc +++ b/test/cpp/microbenchmarks/bm_fullstack.cc @@ -620,6 +620,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 |