Home
last modified time | relevance | path

Searched defs:Duration (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/time/
H A Dmod.rs128 impl From<PosixTimeSpec> for Duration { implementation
290 fn add_assign(&mut self, rhs: Duration) { in add_assign()
304 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
312 fn sub(self, rhs: Instant) -> Duration { in sub()
319 pub struct Duration { struct
323 impl Duration { impl
326 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
331 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
338 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
370 impl fmt::Display for Duration { implementation
[all …]
H A Dtimer.rs53 impl From<Jiffies> for Duration { implementation
/DragonOS/kernel/src/process/
H A Dtimer.rs78 pub fn remain(&self) -> Duration { in remain()