Skip to content

Commit

Permalink
Dont track allocations if we are not going to use them
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Mar 11, 2017
1 parent 1672b7e commit a08b11f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/cpp/microbenchmarks/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit a08b11f

Please sign in to comment.