aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks/bm_closure.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-03 08:53:52 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-03-03 08:53:52 -0800
commite4a24195971fe2f909a76b210efcb2aee6ed0575 (patch)
treea037b11aac341a24a78a1133afda3ba0ac02e9a7 /test/cpp/microbenchmarks/bm_closure.cc
parent5e3215338f3f69c626cced758e9c49e03252aa24 (diff)
Bugfixes
Diffstat (limited to 'test/cpp/microbenchmarks/bm_closure.cc')
-rw-r--r--test/cpp/microbenchmarks/bm_closure.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/cpp/microbenchmarks/bm_closure.cc b/test/cpp/microbenchmarks/bm_closure.cc
index 8111c9c9fa..28a385b6c1 100644
--- a/test/cpp/microbenchmarks/bm_closure.cc
+++ b/test/cpp/microbenchmarks/bm_closure.cc
@@ -45,9 +45,7 @@ extern "C" {
#include "test/cpp/microbenchmarks/helpers.h"
#include "third_party/benchmark/include/benchmark/benchmark.h"
-#ifdef GPR_LOW_LEVEL_COUNTERS
-extern "C" gpr_atm gpr_mu_locks;
-#endif
+auto& force_library_initialization = Library::get();
static void BM_NoOpExecCtx(benchmark::State& state) {
TrackCounters track_counters;