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

Function read_process_memory

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

Source from the content-addressed store, hash-verified

852}
853
854fn read_process_memory() -> (u64, u64) {
855 if let Some(stats) = memory_stats::memory_stats() {
856 return (stats.physical_mem as u64, stats.virtual_mem as u64);
857 }
858 (0, 0)
859}
860
861fn read_mimalloc_process_info() -> MiProcessMemoryInfo {
862 let mut elapsed = 0_usize;

Callers 4

overviewMethod · 0.85
stacks_reportMethod · 0.85
functions_reportMethod · 0.85
modules_reportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected