Lines Matching refs:latest_rtt
82 latest_rtt: Duration, field
144 latest_rtt: Duration::new(0, 0), in new()
327 let latest_rtt = now - largest_newly_acked_sent_time; in on_ack_received() localVariable
335 self.update_rtt(latest_rtt, ack_delay, now); in on_ack_received()
473 &mut self, latest_rtt: Duration, ack_delay: Duration, now: Instant, in update_rtt()
475 self.latest_rtt = latest_rtt; in update_rtt()
480 self.min_rtt = self.minmax_filter.reset(now, latest_rtt); in update_rtt()
482 self.smoothed_rtt = Some(latest_rtt); in update_rtt()
484 self.rttvar = latest_rtt / 2; in update_rtt()
489 self.minmax_filter.running_min(RTT_WINDOW, now, latest_rtt); in update_rtt()
494 let adjusted_rtt = if latest_rtt > self.min_rtt + ack_delay { in update_rtt()
495 latest_rtt - ack_delay in update_rtt()
497 latest_rtt in update_rtt()
602 cmp::max(self.latest_rtt, self.rtt()).mul_f64(TIME_THRESHOLD); in detect_lost_packets()
750 self.latest_rtt, in hystart_on_packet_acked()
771 Some(self.latest_rtt.as_millis() as u64), in to_qlog()
858 write!(f, "latest_rtt={:?} ", self.latest_rtt)?; in fmt()