diff options
author | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2017-04-14 07:59:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-14 07:59:18 -0700 |
commit | b81fb794a397b053df0d4bed7b1525a0ff51535f (patch) | |
tree | 45a4df4c665d7de3e04363af5ec6176427abc8f8 /test/cpp/microbenchmarks/bm_call_create.cc | |
parent | 90bb7bddd138bac7126b01bfcb31fa9beff7d2fb (diff) | |
parent | 0e5fa9ebcd69746c2f27339a7cc13c3da2cde012 (diff) |
Merge pull request #9972 from sreecha/cq_create_api_changes
Completion Queue creation API changes (C-Core and C++ only)
Diffstat (limited to 'test/cpp/microbenchmarks/bm_call_create.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_call_create.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/microbenchmarks/bm_call_create.cc b/test/cpp/microbenchmarks/bm_call_create.cc index 0acfb9402f..8373eead61 100644 --- a/test/cpp/microbenchmarks/bm_call_create.cc +++ b/test/cpp/microbenchmarks/bm_call_create.cc @@ -119,7 +119,7 @@ template <class Fixture> static void BM_CallCreateDestroy(benchmark::State &state) { TrackCounters track_counters; Fixture fixture; - grpc_completion_queue *cq = grpc_completion_queue_create(NULL); + grpc_completion_queue *cq = grpc_completion_queue_create_for_next(NULL); gpr_timespec deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC); void *method_hdl = grpc_channel_register_call(fixture.channel(), "/foo/bar", NULL, NULL); @@ -576,7 +576,7 @@ class IsolatedCallFixture : public TrackCounters { GRPC_CLIENT_CHANNEL); grpc_exec_ctx_finish(&exec_ctx); } - cq_ = grpc_completion_queue_create(NULL); + cq_ = grpc_completion_queue_create_for_next(NULL); } void Finish(benchmark::State &state) { |