Lines Matching refs:Instant
32 use std::time::Instant;
72 loss_detection_timer: Option<Instant>,
76 time_of_last_sent_ack_eliciting_pkt: [Option<Instant>; packet::EPOCH_COUNT],
94 loss_time: [Option<Instant>; packet::EPOCH_COUNT],
123 congestion_recovery_start_time: Option<Instant>,
198 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent() argument
238 fn on_packet_sent_cc(&mut self, sent_bytes: usize, now: Instant) { in on_packet_sent_cc() argument
244 epoch: packet::Epoch, handshake_status: HandshakeStatus, now: Instant, in on_ack_received() argument
356 &mut self, handshake_status: HandshakeStatus, now: Instant, in on_loss_detection_timeout() argument
420 now: Instant, in on_pkt_num_space_discarded() argument
443 pub fn loss_detection_timer(&self) -> Option<Instant> { in loss_detection_timer() argument
473 &mut self, latest_rtt: Duration, ack_delay: Duration, now: Instant, in update_rtt() argument
510 fn loss_time_and_space(&self) -> (Option<Instant>, packet::Epoch) { in loss_time_and_space() argument
529 &self, handshake_status: HandshakeStatus, now: Instant, in pto_time_and_space() argument
530 ) -> (Option<Instant>, packet::Epoch) { in pto_time_and_space() argument
574 &mut self, handshake_status: HandshakeStatus, now: Instant, in set_loss_detection_timer() argument
595 &mut self, epoch: packet::Epoch, now: Instant, trace_id: &str, in detect_lost_packets() argument
693 &mut self, acked: Vec<Acked>, epoch: packet::Epoch, now: Instant, in on_packets_acked() argument
700 fn in_congestion_recovery(&self, sent_time: Instant) -> bool { in in_congestion_recovery()
718 epoch: packet::Epoch, now: Instant, in on_packets_lost() argument
730 &mut self, time_sent: Instant, epoch: packet::Epoch, now: Instant, in congestion_event() argument
746 &mut self, packet: &Acked, now: Instant, in hystart_on_packet_acked() argument
815 pub on_packet_sent: fn(r: &mut Recovery, sent_bytes: usize, now: Instant),
818 fn(r: &mut Recovery, packet: &Acked, epoch: packet::Epoch, now: Instant),
822 time_sent: Instant,
824 now: Instant,
843 let now = Instant::now(); in fmt()
889 pub time_sent: Instant,
891 pub time_acked: Option<Instant>,
893 pub time_lost: Option<Instant>,
903 pub delivered_time: Instant,
905 pub recent_delivered_packet_sent_time: Instant,
935 pub time_sent: Instant,
1007 let mut now = Instant::now(); in loss_on_pto()
1233 let mut now = Instant::now(); in loss_on_timer()
1386 let mut now = Instant::now(); in loss_on_reordering()