Home
last modified time | relevance | path

Searched refs:at_time (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/modules/congestion_controller/goog_cc/
Dsend_side_bandwidth_estimation.cc115 Timestamp at_time, in UpdateDelayBasedEstimate() argument
120 last_link_capacity_update_ = at_time; in UpdateDelayBasedEstimate()
132 Timestamp at_time) { in OnRateUpdate() argument
137 TimeDelta delta = at_time - last_link_capacity_update_; in OnRateUpdate()
142 last_link_capacity_update_ = at_time; in OnRateUpdate()
146 Timestamp at_time) { in OnRttBackoff() argument
149 last_link_capacity_update_ = at_time; in OnRttBackoff()
171 void RttBasedBackoff::UpdatePropagationRtt(Timestamp at_time, in UpdatePropagationRtt() argument
173 last_propagation_rtt_update_ = at_time; in UpdatePropagationRtt()
177 TimeDelta RttBasedBackoff::CorrectedRtt(Timestamp at_time) const { in CorrectedRtt()
[all …]
Dsend_side_bandwidth_estimation.h39 void UpdateDelayBasedEstimate(Timestamp at_time,
44 Timestamp at_time);
45 void OnRttBackoff(DataRate backoff_rate, Timestamp at_time);
59 void UpdatePropagationRtt(Timestamp at_time, TimeDelta propagation_rtt);
60 TimeDelta CorrectedRtt(Timestamp at_time) const;
87 void UpdateEstimate(Timestamp at_time);
89 void UpdatePropagationRtt(Timestamp at_time, TimeDelta propagation_rtt);
92 void UpdateReceiverEstimate(Timestamp at_time, DataRate bandwidth);
95 void UpdateDelayBasedEstimate(Timestamp at_time, DataRate bitrate);
100 Timestamp at_time);
[all …]
Ddelay_based_bwe.cc179 Timestamp at_time) { in IncomingPacketFeedback() argument
182 at_time - last_seen_packet_ > kStreamTimeOut) { in IncomingPacketFeedback()
193 last_seen_packet_ = at_time; in IncomingPacketFeedback()
249 timestamp, packet_feedback.receive_time.ms(), at_time.ms(), in IncomingPacketFeedback()
258 DataRate DelayBasedBwe::TriggerOveruse(Timestamp at_time, in TriggerOveruse() argument
261 return rate_control_.Update(&input, at_time); in TriggerOveruse()
270 Timestamp at_time) { in MaybeUpdateEstimate() argument
276 if (rate_control_.TimeToReduceFurther(at_time, prev_bitrate_)) { in MaybeUpdateEstimate()
278 UpdateEstimate(at_time, prev_bitrate_, &result.target_bitrate); in MaybeUpdateEstimate()
282 rate_control_.TimeToReduceFurther(at_time, *acked_bitrate)) { in MaybeUpdateEstimate()
[all …]
Dgoog_cc_network_control.cc123 RTC_DCHECK(config.constraints.at_time.IsFinite()); in GoogCcNetworkController()
169 probe_controller_->Reset(msg.at_time.ms()); in OnNetworkRouteChange()
172 MaybeTriggerOnNetworkChanged(&update, msg.at_time); in OnNetworkRouteChange()
182 update.pacer_config = GetPacingRates(msg.at_time); in OnProcessInterval()
192 total_bitrate->bps(), msg.at_time.ms()); in OnProcessInterval()
204 bandwidth_estimation_->UpdateEstimate(msg.at_time); in OnProcessInterval()
209 auto probes = probe_controller_->Process(msg.at_time.ms()); in OnProcessInterval()
223 MaybeTriggerOnNetworkChanged(&update, msg.at_time); in OnProcessInterval()
295 msg.max_total_allocated_bitrate->bps(), msg.at_time.ms()); in OnStreamsConfig()
323 update.pacer_config = GetPacingRates(msg.at_time); in OnStreamsConfig()
[all …]
Dloss_based_bandwidth_estimation.cc123 Timestamp at_time) { in UpdateLossStatistics() argument
134 ? at_time - last_loss_packet_report_ in UpdateLossStatistics()
136 last_loss_packet_report_ = at_time; in UpdateLossStatistics()
152 Timestamp at_time) { in UpdateAcknowledgedBitrate() argument
155 ? at_time - acknowledged_bitrate_last_update_ in UpdateAcknowledgedBitrate()
157 acknowledged_bitrate_last_update_ = at_time; in UpdateAcknowledgedBitrate()
167 void LossBasedBandwidthEstimation::Update(Timestamp at_time, in Update() argument
177 (at_time - time_last_decrease_ >= in Update()
201 time_last_decrease_ = at_time; in Update()
Dloss_based_bandwidth_estimation.h50 void Update(Timestamp at_time,
54 Timestamp at_time);
59 Timestamp at_time);
Dbitrate_estimator.cc65 void BitrateEstimator::Update(Timestamp at_time, DataSize amount, bool in_alr) { in Update() argument
72 float bitrate_sample_kbps = UpdateWindow(at_time.ms(), amount.bytes(), in Update()
113 BWE_TEST_LOGGING_PLOT(1, "acknowledged_bitrate", at_time.ms(), in Update()
Ddelay_based_bwe.h95 DataRate TriggerOveruse(Timestamp at_time,
102 Timestamp at_time);
109 Timestamp at_time);
Dgoog_cc_network_control.h70 NetworkControlUpdate GetNetworkState(Timestamp at_time) const;
78 Timestamp at_time);
80 PacerConfig GetPacingRates(Timestamp at_time) const;
/external/webrtc/test/network/
Dcross_traffic.cc35 void RandomWalkCrossTraffic::Process(Timestamp at_time) { in Process() argument
38 last_process_time_ = at_time; in Process()
40 TimeDelta delta = at_time - last_process_time_; in Process()
41 last_process_time_ = at_time; in Process()
43 if (at_time - last_update_time_ >= config_.update_interval) { in Process()
45 sqrt((at_time - last_update_time_).seconds<double>()); in Process()
47 last_update_time_ = at_time; in Process()
52 at_time >= last_send_time_ + config_.min_packet_interval) { in Process()
55 last_send_time_ = at_time; in Process()
80 void PulsedPeaksCrossTraffic::Process(Timestamp at_time) { in Process() argument
[all …]
Dcross_traffic.h45 void Process(Timestamp at_time);
79 void Process(Timestamp at_time);
128 void OnResponse(TcpPacket packet_info, Timestamp at_time);
129 void HandleLoss(Timestamp at_time);
130 void SendPackets(Timestamp at_time);
131 void HandlePacketTimeout(int seq_num, Timestamp at_time);
168 void Process(Timestamp at_time);
169 void OnRequest(int sequence_number, Timestamp at_time) override;
170 void OnResponse(int sequence_number, Timestamp at_time) override;
172 void HandleLoss(Timestamp at_time);
[all …]
/external/webrtc/modules/remote_bitrate_estimator/
Daimd_rate_control.cc144 bool AimdRateControl::TimeToReduceFurther(Timestamp at_time, in TimeToReduceFurther() argument
148 if (at_time - time_last_bitrate_change_ >= bitrate_reduction_interval) { in TimeToReduceFurther()
160 bool AimdRateControl::InitialTimeToReduceFurther(Timestamp at_time) const { in InitialTimeToReduceFurther()
163 TimeToReduceFurther(at_time, in InitialTimeToReduceFurther()
169 at_time - time_last_bitrate_decrease_ >= *initial_backoff_interval_) { in InitialTimeToReduceFurther()
184 Timestamp at_time) { in Update() argument
195 time_first_throughput_estimate_ = at_time; in Update()
196 } else if (at_time - time_first_throughput_estimate_ > in Update()
204 ChangeBitrate(*input, at_time); in Update()
212 void AimdRateControl::SetEstimate(DataRate bitrate, Timestamp at_time) { in SetEstimate() argument
[all …]
Daimd_rate_control.h49 bool TimeToReduceFurther(Timestamp at_time,
52 bool InitialTimeToReduceFurther(Timestamp at_time) const;
56 DataRate Update(const RateControlInput* input, Timestamp at_time);
58 void SetEstimate(DataRate bitrate, Timestamp at_time);
76 void ChangeBitrate(const RateControlInput& input, Timestamp at_time);
79 DataRate MultiplicativeRateIncrease(Timestamp at_time,
82 DataRate AdditiveRateIncrease(Timestamp at_time, Timestamp last_time) const;
83 void UpdateChangePeriod(Timestamp at_time);
84 void ChangeState(const RateControlInput& input, Timestamp at_time);
/external/webrtc/api/transport/
Dnetwork_types.h48 Timestamp at_time = Timestamp::PlusInfinity();
62 Timestamp at_time = Timestamp::PlusInfinity();
73 Timestamp at_time = Timestamp::PlusInfinity();
81 Timestamp at_time = Timestamp::PlusInfinity();
189 Timestamp at_time = Timestamp::PlusInfinity();
201 Timestamp at_time = Timestamp::PlusInfinity();
212 Timestamp at_time = Timestamp::PlusInfinity();
220 Timestamp at_time = Timestamp::PlusInfinity();
246 Timestamp at_time = Timestamp::PlusInfinity();
/external/webrtc/test/time_controller/
Dsimulated_process_thread.cc40 void SimulatedProcessThread::RunReady(Timestamp at_time) { in RunReady() argument
45 it != delayed_modules_.end() && it->first <= at_time; in RunReady()
53 delayed_modules_[GetNextTime(module, at_time)].push_back(module); in RunReady()
57 it != delayed_tasks_.end() && it->first <= at_time; in RunReady()
93 Timestamp at_time = handler_->CurrentTime(); in Start() local
96 delayed_modules_[GetNextTime(module, at_time)].push_back(module); in Start()
183 Timestamp at_time) { in GetNextTime() argument
185 return at_time + TimeDelta::Millis(module->TimeUntilNextProcess()); in GetNextTime()
Dsimulated_process_thread.h30 void RunReady(Timestamp at_time) override;
54 Timestamp GetNextTime(Module* module, Timestamp at_time);
Dsimulated_task_queue.cc44 void SimulatedTaskQueue::RunReady(Timestamp at_time) { in RunReady() argument
47 it != delayed_tasks_.end() && it->first <= at_time; in RunReady()
/external/webrtc/modules/congestion_controller/pcc/
Dpcc_network_controller.cc90 Timestamp at_time) const { in CreateRateUpdate()
94 at_time >= monitor_intervals_.back().GetEndTime())) { in CreateRateUpdate()
104 target_rate_msg.at_time = at_time; in CreateRateUpdate()
105 target_rate_msg.network_estimate.at_time = at_time; in CreateRateUpdate()
117 pacer_config.at_time = at_time; in CreateRateUpdate()
353 return CreateRateUpdate(msg.at_time); in OnProcessInterval()
/external/webrtc/test/scenario/
Dperformance_stats.cc17 Timestamp at_time) { in AddFrameInfo() argument
19 RTC_DCHECK(at_time.IsFinite()); in AddFrameInfo()
22 frames.AddEvent(at_time); in AddFrameInfo()
Dvideo_frame_matcher.cc40 Timestamp at_time) { in OnCapturedFrame() argument
43 captured.capture_time = at_time; in OnCapturedFrame()
64 Timestamp at_time) { in OnDecodedFrame() argument
66 decoded->decoded_time = at_time; in OnDecodedFrame()
Dstats_collection.cc153 Timestamp at_time) { in AddStats() argument
171 auto time_delta = at_time - last_update_; in AddStats()
175 last_update_ = at_time; in AddStats()
Dvideo_frame_matcher.h39 void OnCapturedFrame(const VideoFrame& frame, Timestamp at_time);
43 Timestamp at_time);
/external/webrtc/modules/congestion_controller/goog_cc/test/
Dgoog_cc_printer.cc93 Log("time", [=] { return target_.at_time; }), in CreateLoggers()
148 Timestamp at_time) { in PrintState() argument
150 auto state_update = controller_->GetNetworkState(at_time); in PrintState()
185 void GoogCcDebugFactory::PrintState(const Timestamp at_time) { in PrintState() argument
187 printer_.PrintState(log_writer_.get(), controller_, at_time); in PrintState()
Dgoog_cc_printer.h44 Timestamp at_time);
64 void PrintState(const Timestamp at_time);
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dlog_simulation.cc35 config.constraints.at_time = to_time; in ProcessUntil()
46 msg.at_time = to_time; in ProcessUntil()
53 msg.at_time = current_time_; in ProcessUntil()
169 msg.at_time = log_time; in OnIceConfig()
172 msg.constraints.at_time = log_time; in OnIceConfig()

12