Home
last modified time | relevance | path

Searched refs:smoothed_rtt (Results 1 – 22 of 22) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/core/congestion_control/
Dgeneral_loss_algorithm_test.cc29 EXPECT_LT(0, rtt_stats_.smoothed_rtt().ToMicroseconds()); in GeneralLossAlgorithmTest()
164 EXPECT_EQ(clock_.Now() + 1.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
181 EXPECT_EQ(clock_.Now() + 1.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
200 clock_.AdvanceTime(0.25 * rtt_stats_.smoothed_rtt()); in TEST_F()
215 EXPECT_EQ(clock_.Now() + rtt_stats_.smoothed_rtt(), in TEST_F()
218 clock_.AdvanceTime(rtt_stats_.smoothed_rtt()); in TEST_F()
220 EXPECT_EQ(clock_.Now() + 0.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
222 clock_.AdvanceTime(0.25 * rtt_stats_.smoothed_rtt()); in TEST_F()
236 clock_.AdvanceTime(rtt_stats_.smoothed_rtt()); in TEST_F()
245 EXPECT_EQ(clock_.Now() + 0.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
[all …]
Drtt_stats_test.cc25 EXPECT_EQ(QuicTime::Delta::Zero(), rtt_stats_.smoothed_rtt()); in TEST_F()
34 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(300), rtt_stats_.smoothed_rtt()); in TEST_F()
40 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(300), rtt_stats_.smoothed_rtt()); in TEST_F()
45 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(300), rtt_stats_.smoothed_rtt()); in TEST_F()
52 rtt_stats_.smoothed_rtt()); in TEST_F()
63 int64_t time_delta_us = stats.smoothed_rtt().ToMicroseconds() - time; in TEST_F()
74 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(200), rtt_stats_.smoothed_rtt()); in TEST_F()
81 rtt_stats_.smoothed_rtt().ToMicroseconds()); in TEST_F()
117 EXPECT_EQ(initial_rtt, rtt_stats_.smoothed_rtt()); in TEST_F()
124 EXPECT_EQ(1.125 * initial_rtt, rtt_stats_.smoothed_rtt()); in TEST_F()
[all …]
Drtt_stats.cc115 QuicTime::Delta rtt_sample, QuicTime::Delta smoothed_rtt) { in OnNewRttSample() argument
117 if (smoothed_rtt.IsZero()) { in OnNewRttSample()
121 const double delta = new_value - smoothed_rtt.ToMicroseconds(); in OnNewRttSample()
Drtt_stats.h34 QuicTime::Delta smoothed_rtt);
64 QuicTime::Delta smoothed_rtt() const { return smoothed_rtt_; } in smoothed_rtt() function
Duber_loss_algorithm_test.cc33 EXPECT_LT(0, rtt_stats_.smoothed_rtt().ToMicroseconds()); in UberLossAlgorithmTest()
134 EXPECT_EQ(clock_.Now() + 1.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
142 EXPECT_EQ(clock_.Now() + 1.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
171 EXPECT_EQ(clock_.Now() + 1.25 * rtt_stats_.smoothed_rtt(), in TEST_F()
Dbbr_sender_test.cc315 EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->smoothed_rtt(), 0.2f); in TEST_F()
347 EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->smoothed_rtt(), 0.2f); in TEST_F()
428 EXPECT_GE(kTestRtt * 4, rtt_stats_->smoothed_rtt()); in TEST_F()
458 EXPECT_GE(kTestRtt * 2, rtt_stats_->smoothed_rtt()); in TEST_F()
484 EXPECT_GE(kTestRtt * 4, rtt_stats_->smoothed_rtt()); in TEST_F()
508 EXPECT_GE(kTestRtt * 4, rtt_stats_->smoothed_rtt()); in TEST_F()
667 EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->smoothed_rtt(), 0.1f); in TEST_F()
727 EXPECT_APPROX_EQ(kTestRtt, rtt_stats_->smoothed_rtt(), 0.1f); in TEST_F()
997 EXPECT_GT(kTestRtt * 2.7, rtt_stats_->smoothed_rtt()); in TEST_F()
Dbbr2_simulator_test.cc509 EXPECT_APPROX_EQ(params.RTT(), rtt_stats()->smoothed_rtt(), 1.0f); in TEST_F()
527 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
546 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
565 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
584 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
603 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
623 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
643 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
662 EXPECT_GE(params.RTT() * 4, rtt_stats()->smoothed_rtt()); in TEST_F()
710 EXPECT_GE(params.RTT() * 5, rtt_stats()->smoothed_rtt()); in TEST_F()
[all …]
Dtcp_cubic_sender_bytes.cc179 QuicTime::Delta srtt = rtt_stats_->smoothed_rtt(); in BandwidthEstimate()
Dtcp_cubic_sender_bytes_test.cc180 cwnd, sender_->rtt_stats_.smoothed_rtt()), in TEST_F()
741 sender_->rtt_stats_.smoothed_rtt()); in TEST_F()
Dbbr_sender.cc297 if (!rtt_stats_->smoothed_rtt().IsZero()) { in AdjustNetworkParameters()
/external/rust/crates/quiche/src/recovery/
Dmod.rs93 smoothed_rtt: Option<Duration>, field
215 smoothed_rtt: None, in new_with_config()
364 if let Some(srtt) = self.smoothed_rtt { in on_packet_sent()
688 self.smoothed_rtt.unwrap_or(INITIAL_RTT) in rtt()
741 match self.smoothed_rtt { in update_rtt()
746 self.smoothed_rtt = Some(latest_rtt); in update_rtt()
767 self.smoothed_rtt = Some( in update_rtt()
1047 smoothed_rtt: self.rtt(), in maybe_qlog()
1160 write!(f, "srtt={:?} ", self.smoothed_rtt)?; in fmt()
1289 smoothed_rtt: Duration, field
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_sent_packet_manager_test.cc1292 EXPECT_NE(initial_rtt, manager_.GetRttStats()->smoothed_rtt()); in TEST_F()
1300 EXPECT_EQ(QuicTime::Delta::Zero(), manager_.GetRttStats()->smoothed_rtt()); in TEST_F()
1839 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
1908 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
1993 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
2026 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
2121 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
2180 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
2243 QuicTime::Delta srtt = rtt_stats->smoothed_rtt(); in TEST_F()
2259 expected_pto_delay = kFirstPtoSrttMultiplier * rtt_stats->smoothed_rtt(); in TEST_F()
[all …]
Dquic_sent_packet_manager.cc329 rtt_stats_.smoothed_rtt()); in PostProcessNewlyAckedPackets()
1072 if (rtt_stats_.smoothed_rtt().IsZero()) { in GetProbeTimeoutDelay()
1080 rtt_stats_.smoothed_rtt() + in GetProbeTimeoutDelay()
1407 rtt_stats_.smoothed_rtt().IsZero() in GetNConsecutiveRetransmissionTimeoutDelay()
Dquic_flow_controller.cc146 connection_->sent_packet_manager().GetRttStats()->smoothed_rtt(); in MaybeIncreaseMaxWindowSize()
Dquic_trace_visitor.cc320 state->set_smoothed_rtt_us(rtt_stats->smoothed_rtt().ToMicroseconds()); in PopulateTransportState()
Dquic_dispatcher.cc798 connection->sent_packet_manager().GetRttStats()->smoothed_rtt())); in CleanUpSession()
Dquic_connection.cc742 << sent_packet_manager_.GetRttStats()->smoothed_rtt() in MaybeTestLiveness()
3975 QuicTime::Delta rtt = sent_packet_manager_.GetRttStats()->smoothed_rtt(); in OnCongestionChange()
/external/rust/crates/quiche/src/recovery/bbr/
Dinit.rs67 .smoothed_rtt in bbr_init_pacing_rate()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/
Dquic_server_session_base.cc175 sent_packet_manager.GetRttStats()->smoothed_rtt().ToMilliseconds(); in OnCongestionWindowChange()
Dquic_server_session_base_test.cc591 sent_packet_manager->GetRttStats()->smoothed_rtt().ToMilliseconds(); in TEST_P()
Dend_to_end_test.cc2709 client_sent_packet_manager->GetRttStats()->smoothed_rtt().IsInfinite()); in TEST_P()
2715 server_rtt_stats->smoothed_rtt().ToMicroseconds()); in TEST_P()
2741 client_sent_packet_manager->GetRttStats()->smoothed_rtt().IsInfinite()); in TEST_P()
/external/cronet/net/quic/
Dquic_chromium_client_session.cc1849 multi_port_stats->rtt_stats.smoothed_rtt().ToMilliseconds(); in OnConnectionClosed()
1856 .smoothed_rtt() in OnConnectionClosed()