Home
last modified time | relevance | path

Searched refs:rtt (Results 1 – 25 of 132) sorted by relevance

123456

/external/u-boot/drivers/rtc/
Dat91sam9_rtt.c32 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT; in rtc_get() local
39 tim = readl(&rtt->vr); in rtc_get()
40 tim2 = readl(&rtt->vr); in rtc_get()
50 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT; in rtc_set() local
57 writel(32768+AT91_RTT_RTTRST, &rtt->mr); in rtc_set()
58 writel(~0, &rtt->ar); in rtc_set()
61 while (readl(&rtt->vr) != 0) in rtc_set()
68 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT; in rtc_reset() local
72 writel(32768+AT91_RTT_RTTRST, &rtt->mr); in rtc_reset()
73 writel(~0, &rtt->ar); in rtc_reset()
[all …]
/external/webrtc/webrtc/modules/bitrate_controller/
Dbitrate_controller_impl.cc35 int64_t rtt, in OnReceivedRtcpReceiverReport() argument
70 owner_->OnReceivedRtcpReceiverReport(fraction_lost_aggregate, rtt, in OnReceivedRtcpReceiverReport()
169 int64_t rtt, in OnReceivedRtcpReceiverReport() argument
174 bandwidth_estimation_.UpdateReceiverBlock(fraction_loss, rtt, in OnReceivedRtcpReceiverReport()
183 int64_t rtt; in MaybeTriggerOnNetworkChanged() local
184 if (GetNetworkParameters(&bitrate, &fraction_loss, &rtt)) in MaybeTriggerOnNetworkChanged()
185 observer_->OnNetworkChanged(bitrate, fraction_loss, rtt); in MaybeTriggerOnNetworkChanged()
190 int64_t* rtt) { in GetNetworkParameters() argument
193 bandwidth_estimation_.CurrentEstimate(&current_bitrate, fraction_loss, rtt); in GetNetworkParameters()
201 *rtt != last_rtt_ms_ || in GetNetworkParameters()
[all …]
Dsend_side_bandwidth_estimation.cc95 int64_t* rtt) const { in CurrentEstimate()
98 *rtt = last_round_trip_time_ms_; in CurrentEstimate()
108 int64_t rtt, in UpdateReceiverBlock() argument
115 last_round_trip_time_ms_ = rtt; in UpdateReceiverBlock()
139 UpdateUmaStats(now_ms, rtt, (fraction_loss * number_of_packets) >> 8); in UpdateReceiverBlock()
143 int64_t rtt, in UpdateUmaStats() argument
161 RTC_HISTOGRAM_COUNTS_SPARSE("WebRTC.BWE.InitialRtt", static_cast<int>(rtt), in UpdateUmaStats()
Dbitrate_controller_impl.h56 int64_t rtt,
65 int64_t* rtt);
69 int64_t rtt) EXCLUSIVE_LOCKS_REQUIRED(critsect_);
Dsend_side_bandwidth_estimation.h30 void CurrentEstimate(int* bitrate, uint8_t* loss, int64_t* rtt) const;
40 int64_t rtt,
55 void UpdateUmaStats(int64_t now_ms, int64_t rtt, int lost_packets);
Dsend_side_bandwidth_estimation_unittest.cc35 int64_t rtt; in TEST() local
36 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); in TEST()
44 bwe.CurrentEstimate(&bitrate, &fraction_loss, &rtt); in TEST()
/external/webrtc/webrtc/video/
Dcall_stats.cc41 max_rtt_ms = std::max(it->rtt, max_rtt_ms); in GetMaxRttMs()
53 sum += it->rtt; in GetAvgRttMs()
79 virtual void OnRttUpdate(int64_t rtt) { in OnRttUpdate() argument
80 owner_->OnRttUpdate(rtt); in OnRttUpdate()
163 void CallStats::OnRttUpdate(int64_t rtt) { in OnRttUpdate() argument
165 reports_.push_back(RttTime(rtt, clock_->TimeInMilliseconds())); in OnRttUpdate()
Dcall_stats.h50 : rtt(new_rtt), time(rtt_time) {} in RttTime()
51 const int64_t rtt; member
56 void OnRttUpdate(int64_t rtt);
Dvideo_encoder.cc155 int64_t rtt) { in SetChannelParameters() argument
158 rtt_ = rtt; in SetChannelParameters()
159 int32_t ret = encoder_->SetChannelParameters(packet_loss, rtt); in SetChannelParameters()
161 return fallback_encoder_->SetChannelParameters(packet_loss, rtt); in SetChannelParameters()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dremote_ntp_time_estimator_unittest.cc57 void UpdateRtcpTimestamp(int64_t rtt, uint32_t ntp_secs, uint32_t ntp_frac, in UpdateRtcpTimestamp() argument
60 estimator_.UpdateRtcpTimestamp(rtt, ntp_secs, ntp_frac, in UpdateRtcpTimestamp()
64 void ReceiveRtcpSr(int64_t rtt, in ReceiveRtcpSr() argument
68 UpdateRtcpTimestamp(rtt, ntp_seconds, ntp_fractions, rtcp_timestamp, true); in ReceiveRtcpSr()
Drtp_rtcp_impl.cc140 int64_t rtt = 0; in Process() local
141 rtcp_receiver_.RTT(it->remoteSSRC, &rtt, NULL, NULL, NULL); in Process()
142 max_rtt = (rtt > max_rtt) ? rtt : max_rtt; in Process()
531 int64_t* rtt, in RTT() argument
535 int32_t ret = rtcp_receiver_.RTT(remote_ssrc, rtt, avg_rtt, min_rtt, max_rtt); in RTT()
536 if (rtt && *rtt == 0) { in RTT()
538 *rtt = rtt_ms(); in RTT()
734 int64_t rtt = rtt_ms(); in TimeToSendFullNackList() local
735 if (rtt == 0) { in TimeToSendFullNackList()
736 rtcp_receiver_.RTT(rtcp_receiver_.RemoteSSRC(), NULL, &rtt, NULL, NULL); in TimeToSendFullNackList()
[all …]
Dremote_ntp_time_estimator.cc31 bool RemoteNtpTimeEstimator::UpdateRtcpTimestamp(int64_t rtt, in UpdateRtcpTimestamp() argument
48 int64_t sender_arrival_time_90k = (sender_send_time_ms + rtt / 2) * 90; in UpdateRtcpTimestamp()
/external/u-boot/drivers/ddr/fsl/
Dctrl_regs.c59 int rtt; in fsl_ddr_get_rtt() local
62 rtt = 0; in fsl_ddr_get_rtt()
64 rtt = 3; in fsl_ddr_get_rtt()
66 rtt = 0; in fsl_ddr_get_rtt()
69 return rtt; in fsl_ddr_get_rtt()
1362 unsigned int rtt; in set_ddr_sdram_mode() local
1388 rtt = popts->rtt_override_value; in set_ddr_sdram_mode()
1390 rtt = popts->cs_local_opts[0].odt_rtt_norm; in set_ddr_sdram_mode()
1410 | ((rtt & 0x7) << 8) in set_ddr_sdram_mode()
1480 rtt = popts->rtt_override_value; in set_ddr_sdram_mode()
[all …]
/external/iputils/
Dclockdiff.c117 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()
Dping_common.c11 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/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc83 if (_lowRttNackMs == -1 || parameters->rtt < _lowRttNackMs) { in ProtectionFactor()
89 } else if (_highRttNackMs == -1 || parameters->rtt < _highRttNackMs) { in ProtectionFactor()
121 static_cast<int>(2.0f * base_layer_framerate * parameters->rtt / 1000.0f + in ComputeMaxFramesFec()
156 parameters->numLayers < 3 && parameters->rtt < kMaxRttTurnOffFec) { in BitRateTooLowForFec()
342 parameters->rtt, packetLoss); in ProtectionFactor()
518 void VCMLossProtectionLogic::UpdateRtt(int64_t rtt) { in UpdateRtt() argument
519 _rtt = rtt; in UpdateRtt()
639 _currentParameters.rtt = _rtt; in UpdateMethod()
Dmedia_opt_util.h49 : rtt(0), in VCMProtectionParameters()
62 int64_t rtt; member
241 void UpdateRtt(int64_t rtt);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_encoder_adapter_unittest.cc133 MOCK_METHOD2(SetChannelParameters, int32_t(uint32_t packetLoss, int64_t rtt));
190 void ExpectCallSetChannelParameters(uint32_t packetLoss, int64_t rtt) { in ExpectCallSetChannelParameters() argument
194 SetChannelParameters(packetLoss, rtt)) in ExpectCallSetChannelParameters()
347 const int64_t rtt = 30; in TEST_F() local
348 helper_->ExpectCallSetChannelParameters(packetLoss, rtt); in TEST_F()
349 adapter_->SetChannelParameters(packetLoss, rtt); in TEST_F()
Dreference_picture_selection.cc118 void ReferencePictureSelection::SetRtt(int64_t rtt) { in SetRtt() argument
120 rtt_ = 90 * rtt; in SetRtt()
/external/webrtc/webrtc/modules/video_coding/test/
Dtester_main.cc22 DEFINE_int32(rtt, 0, "RTT (round-trip time), in milliseconds.");
60 args->rtt = FLAGS_rtt; in ParseArguments()
/external/v8/src/wasm/
Dfunction-body-decoder-impl.h1042 const Value& rtt, const Value args[], Value* result) \
1044 const Value& rtt, Value* result) \
1050 const Value& length, const Value& initial_value, const Value& rtt, \
1053 const Value& length, const Value& rtt, Value* result) \
1067 F(RefTest, const Value& obj, const Value& rtt, Value* result) \
1068 F(RefCast, const Value& obj, const Value& rtt, Value* result) \
1069 F(BrOnCast, const Value& obj, const Value& rtt, Value* result_on_branch, \
3623 Value rtt = Pop(imm.struct_type->field_count());
3624 if (!VALIDATE(rtt.type.is_rtt() || rtt.type.is_bottom())) {
3627 SafeOpcodeNameAt(rtt.pc()), rtt.type.name().c_str());
[all …]
/external/libnl/lib/idiag/
Didiag_vegasinfo_obj.c69 void idiagnl_vegasinfo_set_rtt(struct idiagnl_vegasinfo *vinfo, uint32_t rtt) in idiagnl_vegasinfo_set_rtt() argument
71 vinfo->tcpv_rtt = rtt; in idiagnl_vegasinfo_set_rtt()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiRtt2ManagerFacade.java27 import android.net.wifi.rtt.RangingRequest;
28 import android.net.wifi.rtt.RangingResult;
29 import android.net.wifi.rtt.RangingResultCallback;
30 import android.net.wifi.rtt.WifiRttManager;
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DProxyTest.java87 long rtt = (stop - start); in smallLatency() local
88 assertEquals(latency, rtt, latency); in smallLatency()
117 long rtt = (stop - start); in bigLatency() local
118 assertEquals(latency, rtt, latency); in bigLatency()
/external/iproute2/ip/
Dtcp_metrics.c216 unsigned long rtt = 0, rttvar = 0; in process_msg() local
238 if (!rtt) in process_msg()
239 rtt = (val * 1000UL) >> 3; in process_msg()
246 rtt = val >> 3; in process_msg()
259 if (rtt) in process_msg()
260 fprintf(fp, " rtt %luus", rtt); in process_msg()

123456