change to new completion queue api

pull/10622/head
Yuxuan Li 8 years ago
parent 0bbdb022de
commit f2af0c3009
  1. 4
      test/cpp/microbenchmarks/bm_call_create.cc

@ -184,7 +184,7 @@ static void BM_LameChannelCallCreateCore(benchmark::State &state) {
channel = grpc_lame_client_channel_create(
"localhost:1234", GRPC_STATUS_UNAUTHENTICATED, "blah");
cq = grpc_completion_queue_create(NULL);
cq = grpc_completion_queue_create_for_next(NULL);
void *rc = grpc_channel_register_call(
channel, "/grpc.testing.EchoTestService/Echo", NULL, NULL);
while (state.KeepRunning()) {
@ -258,7 +258,7 @@ static void BM_LameChannelCallCreateCoreSeparateBatch(benchmark::State &state) {
channel = grpc_lame_client_channel_create(
"localhost:1234", GRPC_STATUS_UNAUTHENTICATED, "blah");
cq = grpc_completion_queue_create(NULL);
cq = grpc_completion_queue_create_for_next(NULL);
void *rc = grpc_channel_register_call(
channel, "/grpc.testing.EchoTestService/Echo", NULL, NULL);
while (state.KeepRunning()) {

Loading…
Cancel
Save