Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/time/
Dtimekeeping.rs44 clock: Option<Arc<dyn Clocksource>>, field
71 clock: None, in new()
106 pub fn timekeeper_setup_internals(&self, clock: Arc<dyn Clocksource>) { in timekeeper_setup_internals()
109 let mut clock_data = clock.clocksource_data(); in timekeeper_setup_internals()
110 clock_data.watchdog_last = clock.read(); in timekeeper_setup_internals()
111 if clock.update_clocksource_data(clock_data).is_err() { in timekeeper_setup_internals()
114 timekeeper.clock.replace(clock.clone()); in timekeeper_setup_internals()
116 let clock_data = clock.clocksource_data(); in timekeeper_setup_internals()
140 let clock = timekeeper.clock.clone().unwrap(); in tk_get_ns() localVariable
142 let clock_now = clock.read(); in tk_get_ns()
[all …]
Djiffies.rs11 timer::clock,
37 CycleNum(clock()) in read()
Dsyscall.rs98 pub fn clock() -> Result<usize, SystemError> { in clock() method
99 return Ok(super::timer::clock() as usize); in clock()
Dclocksource.rs17 timer::{clock, Timer, TimerFunction},
149 self.timer_expires += clock() + WATCHDOG_INTERVAL; in clocksource_start_watchdog()
772 for clock in del_clocks.iter() { in clocksource_watchdog_kthread()
773 clock.clocksource_change_rating(0); in clocksource_watchdog_kthread()
Dtimer.rs330 pub fn clock() -> u64 { in clock() function
/DragonOS-0.1.9/kernel/src/exception/
Dsoftirq.rs21 time::timer::clock,
194 let end = clock() + 500 * 2; in do_softirq()
236 if clock() < end && max_restart > 0 { in do_softirq()
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/
Dhpet.rs34 time::timer::{clock, timer_get_first_expire, update_timer_jiffies},
244 if first_expire <= clock() { in handle_irq()
/DragonOS-0.1.9/docs/kernel/sched/
Dkernel_timer.md92 pub fn clock() -> u64
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.0.md227 - clock
DV0.1.6.md141 * 修改timer的clock()
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs357 SYS_CLOCK => Self::clock(), in handle()