/external/chromium_org/third_party/webrtc/modules/bitrate_controller/ |
D | bitrate_controller_impl.cc | 36 uint16_t rtt, in OnReceivedRtcpReceiverReport() argument 71 owner_->OnReceivedRtcpReceiverReport(fraction_lost_aggregate, rtt, in OnReceivedRtcpReceiverReport() 153 uint32_t rtt; in SetBitrateObserver() local 154 bandwidth_estimation_.CurrentEstimate(¤t_estimate, &loss, &rtt); in SetBitrateObserver() 248 const uint32_t rtt, in OnReceivedRtcpReceiverReport() argument 253 fraction_loss, rtt, number_of_packets, now_ms); in OnReceivedRtcpReceiverReport() 260 uint32_t rtt; in MaybeTriggerOnNetworkChanged() local 261 bandwidth_estimation_.CurrentEstimate(&bitrate, &fraction_loss, &rtt); in MaybeTriggerOnNetworkChanged() 267 rtt != last_rtt_ms_ || in MaybeTriggerOnNetworkChanged() 272 last_rtt_ms_ = rtt; in MaybeTriggerOnNetworkChanged() [all …]
|
D | send_side_bandwidth_estimation.cc | 26 uint32_t CalcTfrcBps(uint16_t rtt, uint8_t loss) { in CalcTfrcBps() argument 27 if (rtt == 0 || loss == 0) { in CalcTfrcBps() 31 double R = static_cast<double>(rtt) / 1000; // RTT in seconds. in CalcTfrcBps() 83 uint32_t* rtt) const { in CurrentEstimate() 86 *rtt = last_round_trip_time_ms_; in CurrentEstimate() 95 uint32_t rtt, in UpdateReceiverBlock() argument 99 last_round_trip_time_ms_ = rtt; in UpdateReceiverBlock()
|
D | bitrate_controller_impl.h | 86 const uint32_t rtt, 94 const uint32_t rtt) 99 uint32_t rtt, 105 uint32_t rtt,
|
D | send_side_bandwidth_estimation.h | 27 void CurrentEstimate(uint32_t* bitrate, uint8_t* loss, uint32_t* rtt) const; 37 uint32_t rtt,
|
/external/chromium_org/third_party/webrtc/video_engine/ |
D | call_stats_unittest.cc | 111 uint32_t rtt = 100; in TEST_F() local 112 rtcp_rtt_stats->OnRttUpdate(rtt); in TEST_F() 116 EXPECT_CALL(stats_observer_1, OnRttUpdate(rtt)) in TEST_F() 118 EXPECT_CALL(stats_observer_2, OnRttUpdate(rtt)) in TEST_F() 125 rtcp_rtt_stats->OnRttUpdate(rtt); in TEST_F() 127 EXPECT_CALL(stats_observer_1, OnRttUpdate(rtt)) in TEST_F() 129 EXPECT_CALL(stats_observer_2, OnRttUpdate(rtt)) in TEST_F() 135 rtcp_rtt_stats->OnRttUpdate(rtt); in TEST_F() 137 EXPECT_CALL(stats_observer_1, OnRttUpdate(rtt)) in TEST_F() 139 EXPECT_CALL(stats_observer_2, OnRttUpdate(rtt)) in TEST_F()
|
D | call_stats.cc | 31 virtual void OnRttUpdate(uint32_t rtt) { in OnRttUpdate() argument 32 owner_->OnRttUpdate(rtt); in OnRttUpdate() 77 if (it->rtt > max_rtt) in Process() 78 max_rtt = it->rtt; in Process() 123 void CallStats::OnRttUpdate(uint32_t rtt) { in OnRttUpdate() argument 126 reports_.push_back(RttTime(rtt, time_now)); in OnRttUpdate()
|
D | call_stats.h | 47 void OnRttUpdate(uint32_t rtt); 55 : rtt(new_rtt), time(rtt_time) {} in RttTime() 56 const uint32_t rtt; member
|
/external/chromium_org/net/quic/congestion_control/ |
D | rtt_stats.h | 67 return recent_min_rtt_.rtt; in recent_min_rtt() 84 RttSample() : rtt(QuicTime::Delta::Zero()), time(QuicTime::Zero()) { } in RttSample() 85 RttSample(QuicTime::Delta rtt, QuicTime time) : rtt(rtt), time(time) { } in RttSample() 87 QuicTime::Delta rtt; member
|
D | rtt_stats.cc | 100 if (new_min_rtt_.rtt.IsZero() || rtt_sample <= new_min_rtt_.rtt) { in UpdateRecentMinRtt() 109 if (recent_min_rtt_.rtt.IsZero() || rtt_sample <= recent_min_rtt_.rtt) { in UpdateRecentMinRtt() 112 } else if (rtt_sample <= half_window_rtt_.rtt) { in UpdateRecentMinRtt() 115 } else if (rtt_sample <= quarter_window_rtt_.rtt) { in UpdateRecentMinRtt()
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | remote_ntp_time_estimator.cc | 32 uint16_t rtt = 0; in UpdateRtcpTimestamp() local 33 rtp_rtcp->RTT(ssrc, &rtt, NULL, NULL, NULL); in UpdateRtcpTimestamp() 34 if (rtt == 0) { in UpdateRtcpTimestamp() 63 int64_t sender_arrival_time_90k = (sender_send_time_ms + rtt / 2) * 90; in UpdateRtcpTimestamp()
|
D | rtp_rtcp_impl.cc | 185 uint16_t rtt = 0; in Process() local 186 rtcp_receiver_.RTT(it->remoteSSRC, &rtt, NULL, NULL, NULL); in Process() 187 max_rtt = (rtt > max_rtt) ? rtt : max_rtt; in Process() 769 uint16_t* rtt, in RTT() argument 773 int32_t ret = rtcp_receiver_.RTT(remote_ssrc, rtt, avg_rtt, min_rtt, max_rtt); in RTT() 774 if (rtt && *rtt == 0) { in RTT() 776 *rtt = static_cast<uint16_t>(rtt_ms()); in RTT() 931 uint16_t rtt = rtt_ms(); in SendNACK() local 932 if (rtt == 0) { in SendNACK() 933 rtcp_receiver_.RTT(rtcp_receiver_.RemoteSSRC(), NULL, &rtt, NULL, NULL); in SendNACK() [all …]
|
/external/chromium_org/net/dns/ |
D | dns_session.cc | 160 void DnsSession::RecordRTT(unsigned server_index, base::TimeDelta rtt) { in RecordRTT() argument 166 UMA_HISTOGRAM_TIMES("AsyncDNS.TimeoutErrorJacobson", rtt - timeout_jacobson); in RecordRTT() 168 rtt - timeout_histogram); in RecordRTT() 170 timeout_jacobson - rtt); in RecordRTT() 172 timeout_histogram - rtt); in RecordRTT() 178 base::TimeDelta current_error = rtt - estimate; in RecordRTT() 186 ->Accumulate(rtt.InMilliseconds(), 1); in RecordRTT()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
D | sctp_cc_functions.c | 254 if (net->rtt > net->cc_mod.rtcc.lbw_rtt + rtt_offset) { in cc_bw_same() 266 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_same() 289 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_same() 303 if (net->rtt < net->cc_mod.rtcc.lbw_rtt-rtt_offset) { in cc_bw_same() 315 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_same() 329 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_same() 344 net->cc_mod.rtcc.lbw_rtt = net->rtt; in cc_bw_same() 361 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_same() 410 if (net->rtt > net->cc_mod.rtcc.lbw_rtt+rtt_offset) { in cc_bw_decrease() 422 ((net->cc_mod.rtcc.lbw_rtt << 32) | net->rtt), in cc_bw_decrease() [all …]
|
/external/iputils/ |
D | clockdiff.c | 117 long rtt = 1000; variable 210 long tmo = rtt + rtt_sigma; in measure() 242 rtt = (rtt * 3 + diff)/4; in measure() 243 rtt_sigma = (rtt_sigma *3 + abs(diff-rtt))/4; in measure() 390 long tmo = rtt + rtt_sigma; in measure_opt() 458 rtt = (rtt * 3 + diff)/4; in measure_opt() 459 rtt_sigma = (rtt_sigma *3 + abs(diff-rtt))/4; in measure_opt() 680 rtt, rtt_sigma, min_rtt, in main()
|
D | ping_common.c | 11 int rtt; variable 442 int est = rtt ? rtt/8 : interval*1000; in update_interval() 541 rtt_addend += (rtt < 8*50000 ? rtt/8 : 50000); in pinger() 906 if (!rtt) in gather_statistics() 907 rtt = triptime*8; in gather_statistics() 909 rtt += triptime-rtt/8; in gather_statistics() 1058 comma, ipg/1000, ipg%1000, rtt/8000, (rtt/8)%1000); in finish() 1083 rtt/8000, (rtt/8)%1000, in status()
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 56 struct pipe_resource *resource = strb->rtt ? strb->rtt->pt : strb->texture; in update_renderbuffer_surface() 124 if (strb->rtt || in update_framebuffer_state() 147 if (strb->rtt) { in update_framebuffer_state()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_framebuffer.c | 56 struct pipe_resource *resource = strb->rtt ? strb->rtt->pt : strb->texture; in update_renderbuffer_surface() 124 if (strb->rtt || in update_framebuffer_state() 147 if (strb->rtt) { in update_framebuffer_state()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | media_opt_util.cc | 90 if (_lowRttNackMs == -1 || parameters->rtt < _lowRttNackMs) in ProtectionFactor() 98 else if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) in ProtectionFactor() 131 2.0f * base_layer_framerate * parameters->rtt / in ComputeMaxFramesFec() 164 parameters->rtt < kMaxRttTurnOffFec) { in BitRateTooLowForFec() 197 if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) in UpdateParameters() 472 parameters->rtt, in ProtectionFactor() 740 VCMLossProtectionLogic::UpdateRtt(uint32_t rtt) in UpdateRtt() argument 742 _rtt = rtt; in UpdateRtt() 903 _currentParameters.rtt = _rtt; in UpdateMethod()
|
D | media_opt_util.h | 51 VCMProtectionParameters() : rtt(0), lossPr(0.0f), bitRate(0.0f), in VCMProtectionParameters() 58 int rtt; member 270 void UpdateRtt(uint32_t rtt);
|
D | video_coding_impl.cc | 149 uint32_t rtt) OVERRIDE { in SetChannelParameters() argument 150 return sender_->SetChannelParameters(target_bitrate, lossRate, rtt); in SetChannelParameters() 347 virtual int32_t SetReceiveChannelParameters(uint32_t rtt) OVERRIDE { in SetReceiveChannelParameters() argument 348 return receiver_->SetReceiveChannelParameters(rtt); in SetReceiveChannelParameters()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/ |
D | reference_picture_selection.cc | 117 void ReferencePictureSelection::SetRtt(int rtt) { in SetRtt() argument 119 rtt_ = 90 * rtt; in SetRtt()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
D | packet_loss_test.cc | 169 int rtt = 0; in CodecSpecific_InitBitrate() local 171 rtt = _rttFrames * (1000 / _inst.maxFramerate); in CodecSpecific_InitBitrate() 173 rtt); in CodecSpecific_InitBitrate()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | tester_main.cc | 33 DEFINE_int32(rtt, 0, "RTT (round-trip time), in milliseconds."); 76 args.rtt = FLAGS_rtt; in ParseArguments()
|
/external/chromium_org/media/cast/sender/ |
D | congestion_control.cc | 34 virtual void UpdateRtt(base::TimeDelta rtt) OVERRIDE; 96 virtual void UpdateRtt(base::TimeDelta rtt) OVERRIDE { in UpdateRtt() argument 174 void AdaptiveCongestionControl::UpdateRtt(base::TimeDelta rtt) { in UpdateRtt() argument 175 rtt_ = (7 * rtt_ + rtt) / 8; in UpdateRtt()
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
D | connectivitychecker_unittest.cc | 309 EXPECT_GE(info.stun.rtt, 0); in VerifyNic() 310 EXPECT_GE(info.udp.rtt, 0); in VerifyNic() 311 EXPECT_GE(info.tcp.rtt, 0); in VerifyNic() 312 EXPECT_GE(info.ssltcp.rtt, 0); in VerifyNic()
|