diff options
author | Craig Tiller <ctiller@google.com> | 2017-07-20 14:18:17 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-07-20 14:18:17 -0700 |
commit | b4bb1cdce48abb7492b33cd2dced14689da67e2b (patch) | |
tree | 8355606f2f80133c2005f7d81af31f21d5ab3099 /test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | |
parent | fd8faac69c309e8def5c75ab6b4e792f293c11b2 (diff) |
Add counters, fix race
Diffstat (limited to 'test/cpp/microbenchmarks/bm_cq_multiple_threads.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc index f79db15a47..645af009bb 100644 --- a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc +++ b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc @@ -38,6 +38,8 @@ struct grpc_pollset { namespace grpc { namespace testing { +auto& force_library_initialization = Library::get(); + static void* g_tag = (void*)(intptr_t)10; // Some random number static grpc_completion_queue* g_cq; static grpc_event_engine_vtable g_vtable; |