Skip to main content

CLOCK_CHECK_WINDOW_NS

Constant CLOCK_CHECK_WINDOW_NS 

Source
pub(crate) const CLOCK_CHECK_WINDOW_NS: u128 = 60_000_000_000;
Expand description

Length of each window over which clock drift is measured, in nanoseconds (60 s).

Long enough that at least one read in the window usually arrives with low latency, so the window minimum approximates drift rather than scheduling delay.