Home
last modified time | relevance | path

Searched refs:NSEC_PER_SEC (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dtimekeeping.rs16 NSEC_PER_SEC, USEC_PER_SEC,
21 pub const NTP_INTERVAL_LENGTH: u64 = NSEC_PER_SEC as u64 / NTP_INTERVAL_FREQ;
180 while _xtime.tv_nsec >= NSEC_PER_SEC.into() { in getnstimeofday()
181 _xtime.tv_nsec -= NSEC_PER_SEC as i64; in getnstimeofday()
224 let num = nsec % NSEC_PER_SEC as i64; in timekeeping_init()
225 nsec += num * NSEC_PER_SEC as i64; in timekeeping_init()
Djiffies.rs11 NSEC_PER_SEC,
20 pub const NSEC_PER_JIFFY: u32 = ((NSEC_PER_SEC << 8) / ACTHZ) as u32;
Dmod.rs35 pub const NSEC_PER_SEC: u32 = 1000000000; constant
Dclocksource.rs18 NSEC_PER_SEC,
47 pub const WATCHDOG_THRESHOLD: u32 = NSEC_PER_SEC >> 4;