aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks/helpers.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-14 21:13:51 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-14 21:13:51 -0700
commit4e8c9895ee2e4b72dcdfb8a113684c4cf81ae919 (patch)
tree87182850060309f6dcd51e4a194bea572fbc1165 /test/cpp/microbenchmarks/helpers.h
parentfb9d11204388b524b942950b47fef24116eab243 (diff)
parent3cafec2f55f66e3df61569579c8259b2e5b5ee00 (diff)
Merge github.com:grpc/grpc into call_arena
Diffstat (limited to 'test/cpp/microbenchmarks/helpers.h')
-rw-r--r--test/cpp/microbenchmarks/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/helpers.h b/test/cpp/microbenchmarks/helpers.h
index 2829a46e5a..f44b7cf83a 100644
--- a/test/cpp/microbenchmarks/helpers.h
+++ b/test/cpp/microbenchmarks/helpers.h
@@ -55,7 +55,9 @@ class Library {
private:
Library() {
+#ifdef GPR_LOW_LEVEL_COUNTERS
grpc_memory_counters_init();
+#endif
init_lib_.init();
rq_ = grpc_resource_quota_create("bm");
}