Searched refs:clock (Results 1 – 11 of 11) sorted by relevance
/DragonOS-0.1.9/kernel/src/time/ |
D | timekeeping.rs | 44 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 …]
|
D | jiffies.rs | 11 timer::clock, 37 CycleNum(clock()) in read()
|
D | syscall.rs | 98 pub fn clock() -> Result<usize, SystemError> { in clock() method 99 return Ok(super::timer::clock() as usize); in clock()
|
D | clocksource.rs | 17 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()
|
D | timer.rs | 330 pub fn clock() -> u64 { in clock() function
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | softirq.rs | 21 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/ |
D | hpet.rs | 34 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/ |
D | kernel_timer.md | 92 pub fn clock() -> u64
|
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.0.md | 227 - clock
|
D | V0.1.6.md | 141 * 修改timer的clock()
|
/DragonOS-0.1.9/kernel/src/syscall/ |
D | mod.rs | 357 SYS_CLOCK => Self::clock(), in handle()
|