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

Function HasJemalloc

src/brpc/details/jemalloc_profiler.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool HasJemalloc() {
66 return mallctl != nullptr;
67}
68
69// env need MALLOC_CONF="prof:true" before process start
70static bool HasEnableJemallocProfile() {

Callers 8

JeProfileActiveFunction · 0.85
JeProfileDumpFunction · 0.85
JeProfileResetFunction · 0.85
validate_je_prof_activeFunction · 0.85
validate_je_prof_dumpFunction · 0.85
validate_je_prof_resetFunction · 0.85
heapMethod · 0.85
default_methodMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected