Print items/sec metric at the end

pull/10467/head
Sree Kuchibhotla 8 years ago
parent 137dd89534
commit 631e78c349
  1. 2
      test/cpp/microbenchmarks/bm_cq_multiple_threads.cc

@ -124,6 +124,8 @@ static void BM_Cq_Throughput(benchmark::State& state) {
grpc_completion_queue_next(g_cq, deadline, NULL);
}
state.SetItemsProcessed(state.iterations());
if (state.thread_index == 0) {
grpc_completion_queue_shutdown(g_cq);
grpc_completion_queue_destroy(g_cq);

Loading…
Cancel
Save