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

Method reset

graphlite/src/exec/memory_budget.rs:212–215  ·  view source on GitHub ↗

ROADMAP v0.2.0 - Budget reset for query completion (see ROADMAP.md §1)

(&self)

Source from the content-addressed store, hash-verified

210 /// Use this when starting a new query execution.
211 #[allow(dead_code)] // ROADMAP v0.2.0 - Budget reset for query completion (see ROADMAP.md §1)
212 pub fn reset(&self) {
213 self.allocated.store(0, Ordering::SeqCst);
214 self.peak.store(0, Ordering::SeqCst);
215 }
216
217 /// Get memory statistics
218 #[allow(dead_code)] // ROADMAP v0.2.0 - Memory statistics for monitoring (see ROADMAP.md §1)

Callers 1

test_memory_budget_resetFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_memory_budget_resetFunction · 0.36