Home
last modified time | relevance | path

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

/third_party/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()
Dcallback_streaming_ping_pong.h124 int max_ping_pongs = state.range(1); in BM_CallbackBidiStreaming() local
144 state.SetBytesProcessed(2 * message_size * max_ping_pongs * in BM_CallbackBidiStreaming()