Searched refs:jiffies (Results 1 – 12 of 12) sorted by relevance
/DragonOS/docs/kernel/sched/ |
H A D | kernel_timer.md | 39 - expire_jiffies:定时器结束时刻(单位:**jiffies**) 63   让进程休眠timeout个jiffies 67 - timeout:需要休眠的时间 (单位:**jiffies**) 71 - Ok(i64):剩余需要休眠的时间 (单位:**jiffies**) 86 - Ok(i64):最早结束的定时器的结束时间 (单位:**jiffies**) 97   获取当前系统时间(单位:**jiffies**)
|
H A D | c_waiting.md | 181 …tion *x, long timeout) | 将当前进程挂起,并设置挂起状态为PROC_UNINTERRUPTIBLE。当等待timeout时间(jiffies时间片)之后,自动唤醒进程。 | 183 …tion *x, long timeout) | 将当前进程挂起,并设置挂起状态为PROC_INTERRUPTIBLE。当等待timeout时间(jiffies时间片)之后,自动唤醒进程。 …
|
/DragonOS/kernel/src/time/ |
H A D | jiffies.rs | 88 let jiffies = Arc::new(ClocksourceJiffies(SpinLock::new(InnerJiffies { in new() localVariable 92 jiffies.0.lock().self_ref = Arc::downgrade(&jiffies); in new() 94 return jiffies; in new() 103 let jiffies = clocksource_default_clock() as Arc<dyn Clocksource>; in jiffies_init() localVariable 104 match jiffies.register(1, 0) { in jiffies_init()
|
H A D | timer.rs | 27 use super::{jiffies::NSEC_PER_JIFFY, timekeeping::update_wall_time}; 63 fn from(jiffies: Jiffies) -> Self { in from() 64 let ms = jiffies.data() / 1_000_000 * NSEC_PER_JIFFY as u64; in from() 81 let jiffies = ms.as_millis() as u64 * 1_000_000 / NSEC_PER_JIFFY as u64; in from() localVariable 82 let result = Jiffies::new(jiffies); in from()
|
H A D | mod.rs | 13 pub mod jiffies; module
|
H A D | timekeeping.rs | 12 jiffies::{clocksource_default_clock, jiffies_init},
|
H A D | clocksource.rs | 31 jiffies::clocksource_default_clock,
|
/DragonOS/kernel/src/sched/ |
H A D | cputime.rs | 5 smp::core::smp_get_processor_id, time::jiffies::TICK_NESC,
|
H A D | fair.rs | 14 use crate::time::jiffies::TICK_NESC;
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | hpet.rs | 33 time::jiffies::NSEC_PER_JIFFY,
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 488 let jiffies = next_n_us_timer_jiffies( in do_epoll_wait() localVariable 491 let inner = Timer::new(handle, jiffies); in do_epoll_wait()
|
/DragonOS/kernel/src/libs/futex/ |
H A D | futex.rs | 276 let jiffies = next_n_us_timer_jiffies((nsec / 1000 + sec * 1_000_000) as u64); in futex_wait() localVariable 278 let wake_up = Timer::new(wakeup_helper, jiffies); in futex_wait()
|