Searched refs:clock (Results 1 – 16 of 16) sorted by relevance
/DragonOS/kernel/src/time/ |
H A D | timekeeping.rs | 45 clock: Option<Arc<dyn Clocksource>>, field 73 clock: None, in new() 115 pub fn timekeeper_setup_internals(&self, clock: Arc<dyn Clocksource>) { in timekeeper_setup_internals() 118 let mut clock_data = clock.clocksource_data(); in timekeeper_setup_internals() 119 clock_data.cycle_last = clock.read(); in timekeeper_setup_internals() 120 if clock.update_clocksource_data(clock_data).is_err() { in timekeeper_setup_internals() 123 timekeeper.clock.replace(clock.clone()); in timekeeper_setup_internals() 125 let clock_data = clock.clocksource_data(); in timekeeper_setup_internals() 147 let clock = timekeeper.clock.clone().unwrap(); in timekeeping_get_ns() localVariable 149 let cycle_now = clock.read(); in timekeeping_get_ns() [all …]
|
H A D | jiffies.rs | 12 timer::clock, 40 CycleNum::new(clock()) in read()
|
H A D | syscall.rs | 101 pub fn clock() -> Result<usize, SystemError> { in clock() method 102 return Ok(super::timer::clock() as usize); in clock()
|
H A D | timer.rs | 363 if first_expire <= clock() { in try_raise_timer_softirq() 385 pub fn clock() -> u64 { in clock() function
|
H A D | clocksource.rs | 32 timer::{clock, Timer, TimerFunction}, 167 self.timer_expires += clock() + WATCHDOG_INTERVAL; in clocksource_start_watchdog() 941 for clock in del_clocks.iter() { in __clocksource_watchdog_kthread() 942 clock.clocksource_change_rating(0); in __clocksource_watchdog_kthread()
|
/DragonOS/kernel/src/sched/ |
H A D | mod.rs | 1 pub mod clock; module 37 time::{clocksource::HZ, timer::clock}, 41 clock::{ClockUpdataFlag, SchedClock}, 294 clock: u64, field 338 clock: 0, in new() 345 cala_load_update: (clock() + (5 * HZ + 1)) as usize, in new() 407 sched_info.upgrade().last_queued = self.clock; in enqueue_task() 432 let delta = self.clock - sched_info.last_queued; in dequeue_task() 516 let clock = SchedClock::sched_clock_cpu(self.cpu); in update_rq_clock() localVariable 517 if clock < self.clock { in update_rq_clock() [all …]
|
H A D | cputime.rs | 9 use super::{clock::SchedClock, cpu_irq_time};
|
H A D | fair.rs | 11 use crate::sched::clock::ClockUpdataFlag; 15 use crate::time::timer::clock; 1538 rq.next_balance = clock(); in dequeue()
|
/DragonOS/user/apps/test-mount/src/ |
H A D | main.rs | 14 let clock = time::Instant::now(); in main() localVariable 34 let dur = clock.elapsed(); in main()
|
/DragonOS/kernel/src/process/ |
H A D | timer.rs | 7 use crate::time::timer::{clock, Jiffies, Timer, TimerFunction}; 82 let now_jiffies = clock(); in remain()
|
/DragonOS/kernel/src/exception/ |
H A D | softirq.rs | 22 time::timer::clock, 195 let end = clock() + 500 * 2; in do_softirq() 237 if clock() < end && max_restart > 0 { in do_softirq()
|
/DragonOS/docs/kernel/sched/ |
H A D | kernel_timer.md | 92 pub fn clock() -> u64
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.0.md | 227 - clock
|
H A D | V0.1.6.md | 141 * 修改timer的clock()
|
H A D | V0.1.10.md | 675 1. 把clock tick rate与hpet频率关联起来
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 334 SYS_CLOCK => Self::clock(), in handle()
|