Home
last modified time | relevance | path

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

/DragonOS/kernel/src/time/
H A Dtimekeeping.rs161 pub fn timekeeping_bigadjust(&self, error: i64, interval: i64, offset: i64) -> (i64, i64, i32) { in timekeeping_bigadjust()
163 let mut interval = interval; in timekeeping_bigadjust() localVariable
168 let tmp = interval; in timekeeping_bigadjust()
173 interval = -interval; in timekeeping_bigadjust()
182 interval <<= adj; in timekeeping_bigadjust()
186 return (interval, offset, mult); in timekeeping_bigadjust()
192 let mut interval = timekeeper.cycle_interval.data() as i64; in timekeeping_adjust() localVariable
201 if error > interval { in timekeeping_adjust()
203 if likely(error <= interval) { in timekeeping_adjust()
206 (interval, offset, adj) = self.timekeeping_bigadjust(error, interval, offset); in timekeeping_adjust()
[all …]