Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/libs/futex/
Dfutex.rs18 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
263 let mut timer = None; in futex_wait() localVariable
276 timer = Some(wake_up); in futex_wait()
302 if timer.is_some() { in futex_wait()
303 timer.unwrap().cancel(); in futex_wait()
312 if timer.is_some() { in futex_wait()
313 timer.unwrap().cancel(); in futex_wait()
320 if timer.is_some() { in futex_wait()
321 if timer.clone().unwrap().timeout() { in futex_wait()
337 if timer.is_some() { in futex_wait()
[all …]
/DragonOS-0.1.9/kernel/src/time/
Dsleep.rs15 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
49 let timer: Arc<Timer> = Timer::new(handler, next_n_us_timer_jiffies(total_sleep_time_us)); in nanosleep() localVariable
56 timer.activate(); in nanosleep()
Dtimer.rs124 let mut timer = self.inner(); in run() localVariable
125 timer.triggered = true; in run()
126 let func = timer.timer_func.take(); in run()
127 drop(timer); in run()
276 let timer = Timer::new( in schedule_timeout() localVariable
281 timer.activate(); in schedule_timeout()
Djiffies.rs11 timer::clock,
Dsyscall.rs99 return Ok(super::timer::clock() as usize); in clock()
Dmod.rs18 pub mod timer; module
Dclocksource.rs17 timer::{clock, Timer, TimerFunction},
/DragonOS-0.1.9/kernel/src/driver/video/
Dmod.rs17 time::timer::{Timer, TimerFunction},
55 let timer = Timer::new(VideoRefreshExecutor::new(), 1); in run_video_refresh() localVariable
57 timer.activate(); in run_video_refresh()
254 let timer = Timer::new(VideoRefreshExecutor::new(), REFRESH_INTERVAL); in run() localVariable
256 timer.activate(); in run()
/DragonOS-0.1.9/docs/kernel/sched/
Dkernel_timer.md165 let timer: Arc<Timer> = Timer::new(timer_example, 1);
167 timer.activate();
/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs10 time::timer::{next_n_ms_timer_jiffies, Timer, TimerFunction},
28 let timer = Timer::new(Box::new(NetWorkPollFunc), next_time); in run() localVariable
29 timer.activate(); in run()
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs28 timer::{next_n_us_timer_jiffies, Timer, WakeUpHelper},
473 let mut timer = None; in do_epoll_wait() localVariable
482 timer = Some(inner); in do_epoll_wait()
490 if timer.is_some() { in do_epoll_wait()
491 if timer.as_ref().unwrap().timeout() { in do_epoll_wait()
496 timer.unwrap().cancel(); in do_epoll_wait()
/DragonOS-0.1.9/kernel/src/init/
Dinit.rs24 clocksource::clocksource_boot_finish, timekeeping::timekeeping_init, timer::timer_init,
/DragonOS-0.1.9/kernel/src/sched/
Dcompletion.rs6 time::timer::schedule_timeout,
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/
Dhpet.rs34 time::timer::{clock, timer_get_first_expire, update_timer_jiffies},
173 fn timer(&self, index: u8) -> Option<(RwLockReadGuard<InnerHpet>, &HpetTimerRegisters)> { in timer() method
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md42 - timer: 重构了系统定时器 (#223)
141 * 修改timer的clock()
DV0.1.9.md290 这是该功能的第一个PR。由于还需要实现timer驱动才能测试,因此该功能将会通过2~3个PR来完成。
1121 增加getrusage,并把apic timer的频率调整为系统HZ (#435)
/DragonOS-0.1.9/kernel/src/exception/
Dsoftirq.rs21 time::timer::clock,