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

Method stats

graphlite/src/exec/memory_budget.rs:219–226  ·  view source on GitHub ↗

ROADMAP v0.2.0 - Memory statistics for monitoring (see ROADMAP.md §1)

(&self)

Source from the content-addressed store, hash-verified

217 /// Get memory statistics
218 #[allow(dead_code)] // ROADMAP v0.2.0 - Memory statistics for monitoring (see ROADMAP.md §1)
219 pub fn stats(&self) -> MemoryStats {
220 MemoryStats {
221 limit: self.limit,
222 allocated: self.allocated(),
223 peak: self.peak(),
224 available: self.available(),
225 }
226 }
227}
228
229/// Memory usage statistics

Callers 1

test_memory_stats_formatFunction · 0.45

Calls 3

allocatedMethod · 0.80
peakMethod · 0.80
availableMethod · 0.80

Tested by 1

test_memory_stats_formatFunction · 0.36