Home
last modified time | relevance | path

Searched refs:time_now_us (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/call/
Dfake_network_pipe.cc202 int64_t time_now_us = clock_->TimeInMicroseconds(); in EnqueuePacket() local
203 return EnqueuePacket(NetworkPacket(std::move(packet), time_now_us, in EnqueuePacket()
204 time_now_us, options, is_rtcp, media_type, in EnqueuePacket()
213 int64_t time_now_us = clock_->TimeInMicroseconds(); in EnqueuePacket() local
214 return EnqueuePacket(NetworkPacket(std::move(packet), time_now_us, in EnqueuePacket()
215 time_now_us, options, is_rtcp, in EnqueuePacket()
264 int64_t time_now_us; in Process() local
268 time_now_us = clock_->TimeInMicroseconds(); in Process()
269 if (time_now_us - last_log_time_us_ > kLogIntervalMs * 1000) { in Process()
273 time_now_us - packets_in_flight_.front().packet.send_time(); in Process()
[all …]
Dsimulated_network.cc156 int64_t time_now_us) { in UpdateCapacityQueue() argument
160 if (time_now_us < last_capacity_link_visit_us_.value_or(time_now_us)) in UpdateCapacityQueue()
163 int64_t time_us = last_capacity_link_visit_us_.value_or(time_now_us); in UpdateCapacityQueue()
177 if (time_us + time_until_front_exits_us > time_now_us) { in UpdateCapacityQueue()
181 ((time_now_us - time_us) * state.config.link_capacity_kbps) / 1000; in UpdateCapacityQueue()
249 last_capacity_link_visit_us_ = time_now_us; in UpdateCapacityQueue()
Dsimulated_network.h95 void UpdateCapacityQueue(ConfigState state, int64_t time_now_us)
Dfake_network_pipe.h169 bool ShouldProcess(int64_t time_now_us) const;
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.cc59 int64_t RtpStream::GenerateFrame(int64_t time_now_us, PacketList* packets) { in GenerateFrame() argument
60 if (time_now_us < next_rtp_time_) { in GenerateFrame()
70 packet->send_time = time_now_us + kSendSideOffsetUs; in GenerateFrame()
79 next_rtp_time_ = time_now_us + (1000000 + fps_ / 2) / fps_; in GenerateFrame()
89 RtpStream::RtcpPacket* RtpStream::Rtcp(int64_t time_now_us) { in Rtcp() argument
90 if (time_now_us < next_rtcp_time_) { in Rtcp()
94 int64_t send_time_us = time_now_us + kSendSideOffsetUs; in Rtcp()
102 next_rtcp_time_ = time_now_us + kRtcpIntervalUs; in Rtcp()
175 int64_t time_now_us) { in GenerateFrame() argument
181 (*it).second->GenerateFrame(time_now_us, packets); in GenerateFrame()
[all …]
Dremote_bitrate_estimator_unittest_helper.h79 int64_t GenerateFrame(int64_t time_now_us, PacketList* packets);
85 RtcpPacket* Rtcp(int64_t time_now_us);
134 int64_t GenerateFrame(RtpStream::PacketList* packets, int64_t time_now_us);
/external/webrtc/modules/congestion_controller/goog_cc/
Ddelay_based_bwe_unittest_helper.cc43 int64_t RtpStream::GenerateFrame(int64_t time_now_us, in GenerateFrame() argument
45 if (time_now_us < next_rtp_time_) { in GenerateFrame()
56 Timestamp::Micros(time_now_us + kSendSideOffsetUs); in GenerateFrame()
60 next_rtp_time_ = time_now_us + (1000000 + fps_ / 2) / fps_; in GenerateFrame()
124 int64_t time_now_us) { in GenerateFrame() argument
130 (*it)->GenerateFrame(time_now_us, packets); in GenerateFrame()
138 std::max(time_now_us + required_network_time_us, in GenerateFrame()
144 return std::max((*it)->next_rtp_time(), time_now_us); in GenerateFrame()
Ddelay_based_bwe_unittest_helper.h60 int64_t GenerateFrame(int64_t time_now_us,
102 int64_t time_now_us);