Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtimekeeping.rs56 xtime_nsec: u64, field
79 xtime_nsec: Default::default(), in new()
136 timekeeper.xtime_nsec = 0; in timekeeper_setup_internals()
243 timekeeper.xtime_nsec -= offset as u64; in timekeeping_adjust()
247 timekeeper.xtime_nsec += offset as u64; in timekeeping_adjust()
277 timekeeper.xtime_nsec += timekeeper.xtime_interval << shift; in logarithmic_accumulation()
278 while timekeeper.xtime_nsec >= nsecps { in logarithmic_accumulation()
279 timekeeper.xtime_nsec -= nsecps; in logarithmic_accumulation()
410 tk.xtime_nsec = (tk.xtime.tv_nsec as u64) << tk.shift; in update_wall_time()
426 if unlikely((tk.xtime_nsec as i64) < 0) { in update_wall_time()
[all …]