Searched refs:duration_since (Results 1 – 19 of 19) sorted by relevance
24 pub fn duration_since(&self, earlier: &Self) -> Duration { in duration_since() method25 self.0.duration_since(earlier.0) in duration_since()74 pub fn duration_since(&self, earlier: &Self) -> Duration { in duration_since() method81 self.now().duration_since(self) in elapsed()
22 pub fn duration_since(&self, earlier: Instant) -> Duration { in duration_since() method32 Self::now().duration_since(*self) in elapsed()82 self.duration_since(rhs) in sub()
75 pub fn duration_since(&self, earlier: Instant) -> Duration { in duration_since() method76 self.std.duration_since(earlier.std) in duration_since()
9 SystemTime::now().duration_since(UNIX_EPOCH)
93 let delta_time = time.duration_since(self.estimate[2].time); in running_min()114 let delta_time = time.duration_since(self.estimate[2].time); in _running_max()135 let delta_time = time.duration_since(self.estimate[0].time); in subwin_update()146 if time.duration_since(self.estimate[0].time) > win { in subwin_update()
3266 return Some(timeout.duration_since(now)); in timeout()
25 let since_epoch = now.duration_since(UNIX_EPOCH).ok()?; in try_today()
45 SystemTime::now().duration_since(UNIX_EPOCH).expect("system time before Unix epoch"); in now()
755 let (sec, nsec) = match t.duration_since(UNIX_EPOCH) { in from()
49 SystemTime::now().duration_since(UNIX_EPOCH).expect("system time before Unix epoch"); in now()
53 match SystemTime::now().duration_since(SystemTime::UNIX_EPOCH) { in now_to_file()
304 .duration_since(UNIX_EPOCH) in is_speaker_over_heated()
32 Some(other.duration_since(now))
56 .duration_since(UNIX_EPOCH) in get_epoch_time()
668 .duration_since(&self.creation_time) in read_speaker()846 let dur = self.clock.lock().now().duration_since(t); in get_ticks_passed()
209 attr.accessed().unwrap().duration_since(UNIX_EPOCH).unwrap()); in assert_times_eq()212 attr.modified().unwrap().duration_since(UNIX_EPOCH).unwrap()); in assert_times_eq()
87 .duration_since(pkt.delivered_time); in on_packet_acked()
846 let d = v.duration_since(now); in fmt()
618 .duration_since(UNIX_EPOCH) in serialize()