Skip to content
Snippets Groups Projects
Commit 40d027af authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #9687 from ctiller/x

Make latency traces more useful
parents 11152102 e7c60e62
No related branches found
No related tags found
No related merge requests found
...@@ -620,6 +620,7 @@ static void BM_StreamingPingPongMsgs(benchmark::State& state) { ...@@ -620,6 +620,7 @@ static void BM_StreamingPingPongMsgs(benchmark::State& state) {
} }
while (state.KeepRunning()) { while (state.KeepRunning()) {
GPR_TIMER_SCOPE("BenchmarkCycle", 0);
request_rw->Write(send_request, tag(0)); // Start client send request_rw->Write(send_request, tag(0)); // Start client send
response_rw.Read(&recv_request, tag(1)); // Start server recv response_rw.Read(&recv_request, tag(1)); // Start server recv
request_rw->Read(&recv_response, tag(2)); // Start client recv request_rw->Read(&recv_response, tag(2)); // Start client recv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment