Home
last modified time | relevance | path

Searched refs:max_ping_pongs (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/test/cpp/microbenchmarks/
Dfullstack_streaming_ping_pong.h50 const int max_ping_pongs = state.range(1); in BM_StreamingPingPong() local
93 while (ping_pong_cnt < max_ping_pongs) { in BM_StreamingPingPong()
136 state.SetBytesProcessed(msg_size * state.iterations() * max_ping_pongs * 2); in BM_StreamingPingPong()
242 const int max_ping_pongs = state.range(1); in BM_StreamingPingPongWithCoalescingApi() local
285 while (ping_pong_cnt < max_ping_pongs) { in BM_StreamingPingPongWithCoalescingApi()
286 if (ping_pong_cnt == max_ping_pongs - 1) { in BM_StreamingPingPongWithCoalescingApi()
324 if (ping_pong_cnt == max_ping_pongs - 1) { in BM_StreamingPingPongWithCoalescingApi()
352 if (max_ping_pongs == 0) { in BM_StreamingPingPongWithCoalescingApi()
365 if (max_ping_pongs == 0) { in BM_StreamingPingPongWithCoalescingApi()
399 state.SetBytesProcessed(msg_size * state.iterations() * max_ping_pongs * 2); in BM_StreamingPingPongWithCoalescingApi()