MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / InstantSamples

Class InstantSamples

crates/firewheel-core/src/clock.rs:400–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398 /// zero` if that instant is later than this one.
399 pub fn saturating_duration_since(&self, earlier: Self) -> DurationSamples {
400 DurationSamples((self.0 - earlier.0).max(0))
401 }
402}
403

Callers 4

to_samplesMethod · 0.85
newMethod · 0.85
defaultMethod · 0.85
newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected