Searched refs:USECS_TO_SECS (Results 1 – 1 of 1) sorted by relevance
139 const USECS_TO_SECS: i64 = 1_000_000i64; constant143 LINUX_SNOOP_Y2K_OFFSET_IN_SECS - (LINUX_SNOOP_Y2K_EPOCH_USECS / USECS_TO_SECS);361 let ts_secs = (base_ts / USECS_TO_SECS) + LINUX_SNOOP_OFFSET_TO_UNIXTIME_SECS; in try_from()362 let ts_nsecs = u32::try_from((base_ts % USECS_TO_SECS) * 1000).unwrap_or(0); in try_from()