MCPcopy Create free account
hub / github.com/apache/brpc / IsTCMallocEnabled

Function IsTCMallocEnabled

src/brpc/details/tcmalloc_extension.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool IsTCMallocEnabled() {
54 return IsHeapProfilerEnabled();
55}
56
57static bool check_TCMALLOC_SAMPLE_PARAMETER() {
58 char* str = getenv("TCMALLOC_SAMPLE_PARAMETER");

Callers 1

default_methodMethod · 0.85

Calls 1

IsHeapProfilerEnabledFunction · 0.85

Tested by

no test coverage detected