MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / utilization

Method utilization

nodedb/src/event/bus.rs:132–134  ·  view source on GitHub ↗

Current ring buffer utilization as a percentage (0–100).

(&self)

Source from the content-addressed store, hash-verified

130
131 /// Current ring buffer utilization as a percentage (0–100).
132 pub fn utilization(&self) -> u8 {
133 self.inner.utilization()
134 }
135
136 /// Current backpressure state.
137 pub fn pressure_state(&self) -> PressureState {

Callers 1

emitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected