diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-11-09 18:44:50 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-11-10 10:48:15 -0800 |
commit | 00325486749b5b56bde1fe8155fb2e3eef6499de (patch) | |
tree | 7531e040ab5cc0ed280c842f551380c4934463e4 /test | |
parent | 3150744c712449585e6c0a3347f2b9366671a8eb (diff) |
Correction to closure.cc,bm_chttp2_hpack and few more
Diffstat (limited to 'test')
-rw-r--r-- | test/core/debug/stats_test.cc | 2 | ||||
-rw-r--r-- | test/cpp/microbenchmarks/bm_chttp2_hpack.cc | 2 | ||||
-rw-r--r-- | test/cpp/microbenchmarks/bm_chttp2_transport.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/core/debug/stats_test.cc b/test/core/debug/stats_test.cc index 554a4a3288..8401618670 100644 --- a/test/core/debug/stats_test.cc +++ b/test/core/debug/stats_test.cc @@ -95,7 +95,7 @@ TEST_P(HistogramTest, IncHistogram) { Snapshot snapshot; ExecCtx _local_exec_ctx; - grpc_stats_inc_histogram[kHistogram](&exec_ctx, j); + grpc_stats_inc_histogram[kHistogram](j); grpc_exec_ctx_finish(); auto delta = snapshot.delta(); diff --git a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc index f9d02ee504..d6fb3cd369 100644 --- a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc +++ b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc @@ -443,7 +443,7 @@ static void UnrefHeader(void* user_data, grpc_mdelem md) { GRPC_MDELEM_UNREF(md); } -template <class Fixture, void (*OnHeader)(grpc_exec_ctx*, void*, grpc_mdelem)> +template <class Fixture, void (*OnHeader)(void*, grpc_mdelem)> static void BM_HpackParserParseHeader(benchmark::State& state) { TrackCounters track_counters; ExecCtx _local_exec_ctx; diff --git a/test/cpp/microbenchmarks/bm_chttp2_transport.cc b/test/cpp/microbenchmarks/bm_chttp2_transport.cc index a32b841501..3a3547141d 100644 --- a/test/cpp/microbenchmarks/bm_chttp2_transport.cc +++ b/test/cpp/microbenchmarks/bm_chttp2_transport.cc @@ -152,7 +152,7 @@ class Fixture { private: DummyEndpoint* ep_; - grpc_exec_ctx _local_exec_ctx; + ExecCtx _local_exec_ctx; grpc_transport* t_; }; |