pub(crate) const CLOCK_OFFSET_HISTORY_WINDOWS: usize = 15;Expand description
Windows over which the slewing offset is taken as the smallest window offset (15, about a quarter of an hour).
A single minute is not enough on a busy host: on MU1 the read latency stayed high for several minutes at a time before dropping back, so each minute’s minimum overstated the offset. Over 15 minutes at least one fast read almost always occurs, while 2 ppm of drift moves the offset by under 2 ms.