MCPcopy Create free account
hub / github.com/acking-you/static_flow / profiler

Function profiler

crates/backend/src/memory_profiler.rs:837–839  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

835}
836
837pub fn profiler() -> Option<&'static MemoryProfiler> {
838 PROFILER.get().filter(|p| p.enabled.load(Ordering::Relaxed))
839}
840
841pub fn global_profiler() -> Option<&'static MemoryProfiler> {
842 PROFILER.get()

Callers 4

allocMethod · 0.85
alloc_zeroedMethod · 0.85
deallocMethod · 0.85
reallocMethod · 0.85

Calls 2

loadMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected