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

Method fmt

graphlite/src/exec/memory_budget.rs:57–63  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

55
56impl std::fmt::Debug for MemoryBudget {
57 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
58 f.debug_struct("MemoryBudget")
59 .field("limit", &self.limit)
60 .field("allocated", &self.allocated.load(Ordering::SeqCst))
61 .field("peak", &self.peak.load(Ordering::SeqCst))
62 .finish()
63 }
64}
65
66impl MemoryBudget {

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected