Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtimekeeping.rs116 let mut timekeeper = self.inner.write_irqsave(); in timekeeper_setup_internals() localVariable
123 timekeeper.clock.replace(clock.clone()); in timekeeper_setup_internals()
131 timekeeper.cycle_interval = CycleNum::new(temp); in timekeeper_setup_internals()
132 timekeeper.xtime_interval = temp * clock_data.mult as u64; in timekeeper_setup_internals()
134 timekeeper.xtime_remainder = (ntpinterval - timekeeper.xtime_interval) as i64; in timekeeper_setup_internals()
135 timekeeper.raw_interval = (timekeeper.xtime_interval >> clock_data.shift) as i64; in timekeeper_setup_internals()
136 timekeeper.xtime_nsec = 0; in timekeeper_setup_internals()
137 timekeeper.shift = clock_data.shift as i32; in timekeeper_setup_internals()
139 timekeeper.ntp_error = 0; in timekeeper_setup_internals()
140 timekeeper.ntp_error_shift = (NTP_SCALE_SHIFT - clock_data.shift) as i32; in timekeeper_setup_internals()
[all …]