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

Function IsHeapProfilerEnabled

src/brpc/details/tcmalloc_extension.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49bool IsHeapProfilerEnabled() {
50 return MallocExtension::instance() != NULL;
51}
52
53bool IsTCMallocEnabled() {
54 return IsHeapProfilerEnabled();

Callers 4

PrintEnabledProfilersFunction · 0.85
IsTCMallocEnabledFunction · 0.85
default_methodMethod · 0.85
StartProfilingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected