Lines Matching refs:u64
46 pub const FSEC_PER_SEC: u64 = 1000000000000000;
49 pub const PIT_TICK_RATE: u64 = 1193182;
84 CurrentTimeArch::get_cycles() as u64 / khz, in now_cpu_time()
106 Duration::from_micros((sec * 1000000 + nsec / 1000) as u64) in sub()
130 Duration::from_micros(val.tv_sec as u64 * 1000000 + val.tv_nsec as u64 / 1000) in from()
182 let mut year: u64 = year0.into(); in mktime64()
183 let day: u64 = day.into(); in mktime64()
184 let hour: u64 = hour.into(); in mktime64()
185 let min: u64 = min.into(); in mktime64()
186 let sec: u64 = sec.into(); in mktime64()
195 let mon = mon as u64; in mktime64()
320 micros: u64,
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()
345 pub const fn millis(&self) -> u64 { in millis() argument
350 pub const fn micros(&self) -> u64 { in micros() argument
355 pub const fn secs(&self) -> u64 { in secs() argument
360 pub const fn total_millis(&self) -> u64 { in total_millis() argument
365 pub const fn total_micros(&self) -> u64 { in total_micros() argument
415 Duration::from_micros(self.micros * rhs as u64) in mul()
421 self.micros *= rhs as u64; in mul_assign()
429 Duration::from_micros(self.micros / rhs as u64) in div()
435 self.micros /= rhs as u64; in div_assign()
469 Duration::from_micros(other.as_secs() * 1000000 + other.subsec_micros() as u64) in from()