Lines Matching refs:total_micros
113 tv_sec: dur.total_micros() as i64 / 1000000, in from()
114 tv_nsec: (dur.total_micros() as i64 % 1000000) * 1000, in from()
270 pub const fn total_micros(&self) -> i64 { in total_micros() method
285 Instant::from_micros(self.micros + rhs.total_micros() as i64) in add()
291 self.micros += rhs.total_micros() as i64; in add_assign()
299 Instant::from_micros(self.micros - rhs.total_micros() as i64) in sub()
305 self.micros -= rhs.total_micros() as i64; in sub_assign()
365 pub const fn total_micros(&self) -> u64 { in total_micros() method
380 Duration::from_micros(self.micros + rhs.total_micros()) in add()
386 self.micros += rhs.total_micros(); in add_assign()
396 .checked_sub(rhs.total_micros()) in sub()
406 .checked_sub(rhs.total_micros()) in sub_assign()
475 ::core::time::Duration::from_micros(val.total_micros()) in from()