Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
837
pub fn profiler() -> Option<&'static MemoryProfiler> {
838
PROFILER.get().filter(|p| p.enabled.load(Ordering::Relaxed))
839
}
840
841
pub fn global_profiler() -> Option<&'static MemoryProfiler> {
842
PROFILER.get()
Callers
4
alloc
Method · 0.85
alloc_zeroed
Method · 0.85
dealloc
Method · 0.85
realloc
Method · 0.85
Calls
2
load
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected