MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / peak

Method peak

graphlite/src/exec/memory_budget.rs:158–160  ·  view source on GitHub ↗

ROADMAP v0.2.0 - Peak memory tracking (see ROADMAP.md §1)

(&self)

Source from the content-addressed store, hash-verified

156 /// Get peak allocated memory in bytes
157 #[allow(dead_code)] // ROADMAP v0.2.0 - Peak memory tracking (see ROADMAP.md §1)
158 pub fn peak(&self) -> usize {
159 self.peak.load(Ordering::SeqCst)
160 }
161
162 /// Get memory limit in bytes
163 #[allow(dead_code)] // ROADMAP v0.2.0 - Memory limit accessor (see ROADMAP.md §1)

Callers 1

statsMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected