Home
last modified time | relevance | path

Searched refs:rtt_stats_ (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/net/quic/congestion_control/
Drtt_stats_test.cc26 RttStats rtt_stats_; member in net::test::RttStatsTest
30 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(100), in TEST_F()
33 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(100), rtt_stats_.min_rtt()); in TEST_F()
35 rtt_stats_.recent_min_rtt()); in TEST_F()
36 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(10), in TEST_F()
40 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.min_rtt()); in TEST_F()
41 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.recent_min_rtt()); in TEST_F()
42 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(50), in TEST_F()
46 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.min_rtt()); in TEST_F()
47 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.recent_min_rtt()); in TEST_F()
[all …]
Dtime_loss_algorithm_test.cc22 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(100), in TimeLossAlgorithmTest()
39 unacked_packets_, clock_.Now(), largest_observed, rtt_stats_); in VerifyLosses()
48 RttStats rtt_stats_; member in net::test::TimeLossAlgorithmTest
63 EXPECT_EQ(rtt_stats_.SmoothedRtt().Multiply(1.25), in TEST_F()
72 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.1)); in TEST_F()
81 EXPECT_EQ(rtt_stats_.SmoothedRtt().Multiply(0.25), in TEST_F()
85 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); in TEST_F()
96 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.1)); in TEST_F()
105 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); in TEST_F()
107 clock_.AdvanceTime(rtt_stats_.SmoothedRtt()); in TEST_F()
[all …]
Dtcp_loss_algorithm_test.cc22 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(100), in TcpLossAlgorithmTest()
39 unacked_packets_, clock_.Now(), largest_observed, rtt_stats_); in VerifyLosses()
48 RttStats rtt_stats_; member in net::test::TcpLossAlgorithmTest
121 EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(1.25)), in TEST_F()
124 clock_.AdvanceTime(rtt_stats_.latest_rtt().Multiply(1.25)); in TEST_F()
136 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); in TEST_F()
151 EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt()), in TEST_F()
154 clock_.AdvanceTime(rtt_stats_.SmoothedRtt()); in TEST_F()
157 EXPECT_EQ(clock_.Now().Add(rtt_stats_.SmoothedRtt().Multiply(0.25)), in TEST_F()
159 clock_.AdvanceTime(rtt_stats_.SmoothedRtt().Multiply(0.25)); in TEST_F()
Dtcp_cubic_sender.cc36 rtt_stats_(rtt_stats), in TcpCubicSender()
94 hybrid_slow_start_.ShouldExitSlowStart(rtt_stats_->latest_rtt(), in OnCongestionEvent()
95 rtt_stats_->min_rtt(), in OnCongestionEvent()
203 rtt_stats_->SmoothedRtt()); in BandwidthEstimate()
211 if (!rtt_stats_->HasUpdates()) { in RetransmissionDelay()
215 rtt_stats_->SmoothedRtt().ToMicroseconds() + in RetransmissionDelay()
216 4 * rtt_stats_->mean_deviation().ToMicroseconds()); in RetransmissionDelay()
290 congestion_window_, rtt_stats_->min_rtt())); in MaybeIncreaseCwnd()
Dtcp_cubic_sender_test.cc35 clock, &rtt_stats_, reno, max_tcp_congestion_window, &stats_) { in TcpCubicSenderPeer()
50 RttStats rtt_stats_; member in net::test::TcpCubicSenderPeer
87 sender_->rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(60), in AckNPackets()
442 sender_->rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(kRttMs), in TEST_F()
454 sender_->rtt_stats_.UpdateRtt( in TEST_F()
457 sender_->rtt_stats_.UpdateRtt( in TEST_F()
463 EXPECT_NEAR(kRttMs, sender_->rtt_stats_.SmoothedRtt().ToMilliseconds(), 1); in TEST_F()
469 sender_->rtt_stats_.SmoothedRtt().ToMicroseconds()), in TEST_F()
Dtcp_cubic_sender.h92 const RttStats* rtt_stats_; variable
/external/chromium_org/net/quic/
Dquic_sent_packet_manager.cc77 &rtt_stats_, in QuicSentPacketManager()
98 rtt_stats_.set_initial_rtt_us(min(kMaxInitialRoundTripTimeUs, in SetFromConfig()
101 rtt_stats_.set_initial_rtt_us( in SetFromConfig()
109 rtt_stats_.set_recent_min_rtt_window( in SetFromConfig()
113 SendAlgorithmInterface::Create(clock_, &rtt_stats_, kBBR, stats_)); in SetFromConfig()
118 SendAlgorithmInterface::Create(clock_, &rtt_stats_, kReno, stats_)); in SetFromConfig()
212 rtt_stats_.SmoothedRtt()); in OnIncomingAck()
373 rtt_stats_.ExpireSmoothedMetrics(); in RecordSpuriousRetransmissions()
524 << rtt_stats_.recent_min_rtt().ToMilliseconds() << "ms"; in OnPacketSent()
525 rtt_stats_.SampleNewRecentMinRtt(kNumMinRttSamplesAfterQuiescence); in OnPacketSent()
[all …]
Dquic_sent_packet_manager.h358 RttStats rtt_stats_; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc103 config.rtt_stats = &rtt_stats_; in RtpRtcpModule()
115 RtcpRttStatsTestImpl rtt_stats_; member in webrtc::__anon2c3c0b480111::RtpRtcpModule
285 EXPECT_EQ(0U, sender_.rtt_stats_.LastProcessedRtt()); in TEST_F()
288 EXPECT_EQ(2 * kOneWayNetworkDelayMs, sender_.rtt_stats_.LastProcessedRtt()); in TEST_F()
309 EXPECT_EQ(0U, receiver_.rtt_stats_.LastProcessedRtt()); in TEST_F()
312 EXPECT_EQ(2 * kOneWayNetworkDelayMs, receiver_.rtt_stats_.LastProcessedRtt()); in TEST_F()
407 config.rtt_stats = &rtt_stats_; in RtpSendingTest()
503 RtcpRttStatsTestImpl rtt_stats_; member in webrtc::RtpSendingTest
Drtp_rtcp_impl.cc95 rtt_stats_(configuration.rtt_stats), in ModuleRtpRtcpImpl()
190 if (rtt_stats_ && max_rtt != 0) in Process()
191 rtt_stats_->OnRttUpdate(max_rtt); in Process()
218 if (rtt_stats_ && rtcp_receiver_.GetAndResetXrRrRtt(&rtt_ms)) { in Process()
219 rtt_stats_->OnRttUpdate(rtt_ms); in Process()
227 if (rtt_stats_) { in Process()
228 set_rtt_ms(rtt_stats_->LastProcessedRtt()); in Process()
Drtp_rtcp_impl.h427 RtcpRttStats* rtt_stats_; variable
/external/chromium_org/net/quic/test_tools/
Dquic_sent_packet_manager_peer.cc52 return &sent_packet_manager->rtt_stats_; in GetRttStats()
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_channel.h476 RtcpRttStats* rtt_stats_; variable
Dvie_channel.cc134 rtt_stats_(rtt_stats), in ViEChannel()
1599 configuration.rtt_stats = rtt_stats_; in CreateRtpRtcpModule()