From e7c60e62821bdf8cf980328a36499614458fd052 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Mon, 13 Feb 2017 08:56:36 -0800
Subject: [PATCH] Make latency traces more useful

---
 test/cpp/microbenchmarks/bm_fullstack.cc | 1 +
 1 file changed, 1 insertion(+)

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
-- 
GitLab