Home
last modified time | relevance | path

Searched refs:TimeMillis (Results 1 – 25 of 109) sorted by relevance

12345

/external/webrtc/video/
Dencoder_overshoot_detector_unittest.cc38 rtc::TimeMillis()); in RunConstantUtilizationTest()
40 if (rtc::TimeMillis() == 0) { in RunConstantUtilizationTest()
42 detector_.OnEncodedFrame(frame_size_bytes, rtc::TimeMillis()); in RunConstantUtilizationTest()
48 detector_.OnEncodedFrame(frame_size_bytes, rtc::TimeMillis()); in RunConstantUtilizationTest()
56 detector_.GetNetworkRateUtilizationFactor(rtc::TimeMillis()); in RunConstantUtilizationTest()
61 detector_.GetMediaRateUtilizationFactor(rtc::TimeMillis()); in RunConstantUtilizationTest()
77 rtc::TimeMillis()); in TEST_F()
81 detector_.GetNetworkRateUtilizationFactor(rtc::TimeMillis()).has_value()); in TEST_F()
83 detector_.OnEncodedFrame(frame_size_bytes, rtc::TimeMillis()); in TEST_F()
86 detector_.GetNetworkRateUtilizationFactor(rtc::TimeMillis()).has_value()); in TEST_F()
[all …]
Drtp_streams_synchronizer2.cc44 last_stats_log_ms_(rtc::TimeMillis()) { in RtpStreamsSynchronizer()
89 const int64_t now_ms = rtc::TimeMillis(); in UpdateDelay()
190 int64_t now_ms = rtc::TimeMillis(); in GetStreamSyncOffsetInMs()
Drtp_streams_synchronizer.cc46 last_stats_log_ms_(rtc::TimeMillis()) { in RtpStreamsSynchronizer()
86 const int64_t now_ms = rtc::TimeMillis(); in Process()
187 int64_t now_ms = rtc::TimeMillis(); in GetStreamSyncOffsetInMs()
/external/webrtc/modules/desktop_capture/
Ddesktop_capturer_differ_wrapper_unittest.cc202 Random random(rtc::TimeMillis()); in ExecuteDifferWrapperTest()
261 int64_t started = rtc::TimeMillis(); in TEST()
263 ASSERT_LE(rtc::TimeMillis() - started, 15000); in TEST()
267 int64_t started = rtc::TimeMillis(); in TEST()
269 ASSERT_LE(rtc::TimeMillis() - started, 15000); in TEST()
273 int64_t started = rtc::TimeMillis(); in TEST()
275 ASSERT_LE(rtc::TimeMillis() - started, 15000); in TEST()
279 int64_t started = rtc::TimeMillis(); in TEST()
281 ASSERT_LE(rtc::TimeMillis() - started, 15000); in TEST()
286 int64_t started = rtc::TimeMillis(); in TEST()
[all …]
Dscreen_drawer_unittest.cc64 const int64_t current_ms = rtc::TimeMillis(); in TestScreenDrawerLock()
69 while (rtc::TimeMillis() - current_ms < kLockDurationMs) { in TestScreenDrawerLock()
70 SleepMs(kLockDurationMs - (rtc::TimeMillis() - current_ms)); in TestScreenDrawerLock()
91 const int64_t start_ms = rtc::TimeMillis(); in TestScreenDrawerLock()
95 ASSERT_GT(kLockDurationMs, rtc::TimeMillis() - start_ms); in TestScreenDrawerLock()
97 ASSERT_LE(kLockDurationMs, rtc::TimeMillis() - start_ms); in TestScreenDrawerLock()
Dfull_screen_window_detector.cc56 if ((rtc::TimeMillis() - last_update_time_ms_) <= kUpdateIntervalMs) { in UpdateWindowListIfNeeded()
62 last_update_time_ms_ = rtc::TimeMillis(); in UpdateWindowListIfNeeded()
/external/perfetto/src/base/
Dtime_unittest.cc26 TimeMillis ms = GetWallTimeMs(); in TEST()
32 struct timespec ts = ToPosixTimespec(TimeMillis(0)); in TEST()
37 struct timespec ts = ToPosixTimespec(TimeMillis(1)); in TEST()
42 struct timespec ts = ToPosixTimespec(TimeMillis(12345)); in TEST()
47 struct timespec ts = ToPosixTimespec(TimeMillis(1000000000001LL)); in TEST()
Dunix_task_runner.cc133 TimeMillis now = GetWallTimeMs(); in RunImmediateAndDelayedTask()
242 TimeMillis diff = delayed_tasks_.begin()->first - GetWallTimeMs(); in GetDelayMsToNextTaskLocked()
261 TimeMillis runtime = GetWallTimeMs() + TimeMillis(delay_ms); in PostDelayedTask()
/external/webrtc/rtc_base/
Dtime_utils_unittest.cc28 int64_t ts_earlier = TimeMillis(); in TEST()
30 int64_t ts_now = TimeMillis(); in TEST()
38 int64_t ts_earlier = TimeMillis(); in TEST()
62 int64_t ts_earlier = rtc::TimeMillis(); in TEST()
223 EXPECT_EQ(987, TimeMillis()); in TEST()
230 EXPECT_NE(987, TimeMillis()); in TEST()
263 int64_t real_start_time_ms = TimeMillis(); in TEST()
293 int64_t real_end_time_ms = TimeMillis(); in TEST()
Dtime_utils.h75 RTC_EXPORT int64_t TimeMillis();
78 return TimeMillis(); in Time()
97 return TimeMillis() - earlier; in TimeSince()
102 return later - TimeMillis(); in TimeUntil()
Dgunit.h101 for (int64_t start = rtc::TimeMillis(); \
102 !(ex) && rtc::TimeMillis() < start + (timeout);) { \
111 int64_t start = rtc::TimeMillis(); \
113 while (!res && rtc::TimeMillis() < start + (timeout)) { \
/external/perfetto/tools/skippy/
Dskippy.cc41 base::TimeMillis last = base::GetWallTimeMs(); in SkippyMain()
46 base::TimeMillis now = base::GetWallTimeMs(); in SkippyMain()
47 if ((now - last) < base::TimeMillis(100)) in SkippyMain()
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc40 int64_t start = rtc::TimeMillis(); \
41 while (!res && rtc::TimeMillis() < start + timeout) { \
91 EXPECT_TRUE(videoFrame.render_time_ms() >= rtc::TimeMillis() - 30 && in OnFrame()
92 videoFrame.render_time_ms() <= rtc::TimeMillis()); in OnFrame()
204 int64_t start_time = rtc::TimeMillis(); in TEST_F()
223 EXPECT_LE(rtc::TimeMillis() - start_time, 4000); in TEST_F()
228 int64_t stop_time = rtc::TimeMillis(); in TEST_F()
233 EXPECT_LE(rtc::TimeMillis() - stop_time, 3000); in TEST_F()
/external/perfetto/include/perfetto/base/
Dtime.h43 using TimeMillis = std::chrono::milliseconds; variable
167 inline TimeMillis GetWallTimeMs() { in GetWallTimeMs()
168 return std::chrono::duration_cast<TimeMillis>(GetWallTimeNs()); in GetWallTimeMs()
175 inline struct timespec ToPosixTimespec(TimeMillis time) { in ToPosixTimespec()
/external/webrtc/modules/utility/source/
Dprocess_thread_impl.cc131 int64_t run_at_ms = rtc::TimeMillis() + milliseconds; in PostDelayedTask()
204 int64_t now = rtc::TimeMillis(); in Process()
230 int64_t new_now = rtc::TimeMillis(); in Process()
259 int64_t time_to_wait = next_checkpoint - rtc::TimeMillis(); in Process()
/external/perfetto/tools/
Dmultithreaded_alloc.cc114 perfetto::base::TimeMillis end = in main()
115 perfetto::base::GetWallTimeMs() + perfetto::base::TimeMillis(runtime_ms); in main()
120 perfetto::base::TimeMillis current = perfetto::base::GetWallTimeMs(); in main()
/external/webrtc/audio/
Dnull_audio_poller.cc35 reschedule_at_(rtc::TimeMillis() + kPollDelayMs) { in NullAudioPoller()
60 int64_t now = rtc::TimeMillis(); in OnMessage()
/external/webrtc/common_audio/
Dsmoothing_filter.cc43 const int64_t now_ms = rtc::TimeMillis(); in AddSample()
63 ExtrapolateLastSample(rtc::TimeMillis()); in GetAverage()
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_complexity_unittest.cc39 const int64_t start_time_ms = rtc::TimeMillis(); in RunComplexityTest()
48 return rtc::TimeMillis() - start_time_ms; in RunComplexityTest()
/external/webrtc/common_video/
Dvideo_render_frames.cc52 const int64_t time_now = rtc::TimeMillis(); in AddFrame()
108 render_delay_ms_ - rtc::TimeMillis(); in TimeToNextFrameRelease()
/external/perfetto/test/
Dfake_producer.cc189 base::TimeMillis start = base::GetWallTimeMs(); in EmitEventBatchOnTaskRunner()
212 base::TimeMillis time_taken = base::GetWallTimeMs() - start; in EmitEventBatchOnTaskRunner()
215 base::TimeMillis(expected_time_taken - time_taken.count())); in EmitEventBatchOnTaskRunner()
/external/webrtc/modules/audio_device/dummy/
Dfile_audio_device.cc458 int64_t currentTime = rtc::TimeMillis(); in PlayThreadProcess()
477 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; in PlayThreadProcess()
490 int64_t currentTime = rtc::TimeMillis(); in RecThreadProcess()
510 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; in RecThreadProcess()
/external/webrtc/rtc_tools/network_tester/
Dpacket_sender.cc33 : target_time_ms_(rtc::TimeMillis()), packet_sender_(packet_sender) {} in SendPacketTask()
41 target_time_ms_ - rtc::TimeMillis()); in Run()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_impl.cc61 last_output_ms_(rtc::TimeMillis()), in RtcEventLogImpl()
182 const int64_t now_ms = rtc::TimeMillis(); in ScheduleOutput()
205 last_output_ms_ = rtc::TimeMillis(); in LogEventsFromMemoryToOutput()
/external/webrtc/modules/audio_coding/test/
DChannel.cc203 _beginTime(rtc::TimeMillis()), in Channel()
254 _beginTime = rtc::TimeMillis(); in ResetStats()
269 uint64_t currTime = rtc::TimeMillis(); in BitRate()

12345