Lines Matching refs:u64
43 pub const FSEC_PER_SEC: u64 = 1000000000000000;
72 CurrentTimeArch::get_cycles() as u64 / khz, in now()
89 Duration::from_micros((sec * 1000000 + nsec / 1000) as u64) in sub()
104 Duration::from_micros(val.tv_sec as u64 * 1000000 + val.tv_nsec as u64 / 1000) in from()
240 micros: u64,
246 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
251 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
258 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
265 pub const fn millis(&self) -> u64 { in millis() argument
270 pub const fn micros(&self) -> u64 { in micros() argument
275 pub const fn secs(&self) -> u64 { in secs() argument
280 pub const fn total_millis(&self) -> u64 { in total_millis() argument
285 pub const fn total_micros(&self) -> u64 { in total_micros() argument
335 Duration::from_micros(self.micros * rhs as u64) in mul()
341 self.micros *= rhs as u64; in mul_assign()
349 Duration::from_micros(self.micros / rhs as u64) in div()
355 self.micros /= rhs as u64; in div_assign()
389 Duration::from_micros(other.as_secs() * 1000000 + other.subsec_micros() as u64) in from()