Skip to main content

grid_origin_ns

Function grid_origin_ns 

Source
pub fn grid_origin_ns(now_ns: u128) -> u128
Expand description

The origin of a clock constructed now_ns after the process origin so that its whole-millisecond readings fall on the process-wide grid: the nearest aligned instant at or before construction.