Searched refs:Jiffies (Results 1 – 2 of 2) sorted by relevance
7 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()
43 int_like!(Jiffies, u64);45 impl Jiffies { impl53 impl From<Jiffies> for Duration {63 fn from(jiffies: Jiffies) -> Self { in from()70 impl From<Duration> for Jiffies { implementation82 let result = Jiffies::new(jiffies); in from()