Skip to main content

build_ts_resolution

Function build_ts_resolution 

Source
pub fn build_ts_resolution(ts_resol: u8) -> Option<u64>
Expand description

Compute the timestamp resolution, in units per second

Return the resolution, or None if the resolution is invalid (for ex. greater than 2^64)