Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
53
bool IsTCMallocEnabled() {
54
return IsHeapProfilerEnabled();
55
}
56
57
static bool check_TCMALLOC_SAMPLE_PARAMETER() {
58
char* str = getenv(
"TCMALLOC_SAMPLE_PARAMETER"
);
Callers
1
default_method
Method · 0.85
Calls
1
IsHeapProfilerEnabled
Function · 0.85
Tested by
no test coverage detected