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

Method allocated

graphlite/src/exec/memory_budget.rs:152–154  ·  view source on GitHub ↗

ROADMAP v0.2.0 - Memory usage tracking (see ROADMAP.md §1)

(&self)

Source from the content-addressed store, hash-verified

150 /// Get currently allocated memory in bytes
151 #[allow(dead_code)] // ROADMAP v0.2.0 - Memory usage tracking (see ROADMAP.md §1)
152 pub fn allocated(&self) -> usize {
153 self.allocated.load(Ordering::SeqCst)
154 }
155
156 /// Get peak allocated memory in bytes
157 #[allow(dead_code)] // ROADMAP v0.2.0 - Peak memory tracking (see ROADMAP.md §1)

Callers 3

availableMethod · 0.80
usage_ratioMethod · 0.80
statsMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected