Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
bool IsHeapProfilerEnabled() {
50
return MallocExtension::instance() != NULL;
51
}
52
53
bool IsTCMallocEnabled() {
54
return IsHeapProfilerEnabled();
Callers
4
PrintEnabledProfilers
Function · 0.85
IsTCMallocEnabled
Function · 0.85
default_method
Method · 0.85
StartProfiling
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected