Home
last modified time | relevance | path

Searched refs:Jiffies (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/process/
H A Dtimer.rs7 use crate::time::timer::{clock, Jiffies, Timer, TimerFunction};
38 <Jiffies as From<Duration>>::from(Duration::from_secs(second)).timer_jiffies(); in new()
84 <Jiffies as From<Duration>>::from(Duration::from_secs(self.expired_second)) in remain()
86 let remain_second = Duration::from(Jiffies::new(end_jiffies - now_jiffies)); in remain()
/DragonOS/kernel/src/time/
H A Dtimer.rs43 int_like!(Jiffies, u64);
45 impl Jiffies { impl
53 impl From<Jiffies> for Duration {
63 fn from(jiffies: Jiffies) -> Self { in from()
70 impl From<Duration> for Jiffies { implementation
82 let result = Jiffies::new(jiffies); in from()