Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dpacket_sender.cc191 int64_t time_until_next_event_ms = in RunFor() local
194 time_until_next_event_ms = in RunFor()
195 std::min(source_->GetTimeUntilNextFrameMs(), time_until_next_event_ms); in RunFor()
198 if (clock_.TimeInMilliseconds() + time_until_next_event_ms > end_time_ms) in RunFor()
199 time_until_next_event_ms = end_time_ms - clock_.TimeInMilliseconds(); in RunFor()
203 if (time_until_next_event_ms == 0 && last_run_time_ms == 0) in RunFor()
204 time_until_next_event_ms = 1; in RunFor()
205 last_run_time_ms = time_until_next_event_ms; in RunFor()
208 source_->RunFor(time_until_next_event_ms, &generated_packets); in RunFor()
221 clock_.AdvanceTimeMilliseconds(time_until_next_event_ms); in RunFor()
[all …]