Skip to content
Snippets Groups Projects
Commit 631e78c3 authored by Sree Kuchibhotla's avatar Sree Kuchibhotla
Browse files

Print items/sec metric at the end

parent 137dd895
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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