Skip to main content

mono_floor

Function mono_floor 

Source
pub fn mono_floor(mono: u64) -> u64
Expand description

Clamp a monotonic reading through the process-wide floor.

Custom Clock implementations call this on their mono readings so the process-wide guarantee holds for their source too: the returned value never goes backward across calls within a process, even when the underlying source regresses. REQ-CLK-001.