/external/webrtc/video/ |
D | encoder_overshoot_detector_unittest.cc | 38 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 …]
|
D | rtp_streams_synchronizer2.cc | 44 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()
|
D | rtp_streams_synchronizer.cc | 46 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/ |
D | desktop_capturer_differ_wrapper_unittest.cc | 202 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 …]
|
D | screen_drawer_unittest.cc | 64 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()
|
D | full_screen_window_detector.cc | 56 if ((rtc::TimeMillis() - last_update_time_ms_) <= kUpdateIntervalMs) { in UpdateWindowListIfNeeded() 62 last_update_time_ms_ = rtc::TimeMillis(); in UpdateWindowListIfNeeded()
|
/external/perfetto/src/base/ |
D | time_unittest.cc | 26 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()
|
D | unix_task_runner.cc | 133 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/ |
D | time_utils_unittest.cc | 28 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()
|
D | time_utils.h | 75 RTC_EXPORT int64_t TimeMillis(); 78 return TimeMillis(); in Time() 97 return TimeMillis() - earlier; in TimeSince() 102 return later - TimeMillis(); in TimeUntil()
|
D | gunit.h | 101 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/ |
D | skippy.cc | 41 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/ |
D | video_capture_unittest.cc | 40 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/ |
D | time.h | 43 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/ |
D | process_thread_impl.cc | 131 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/ |
D | multithreaded_alloc.cc | 114 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/ |
D | null_audio_poller.cc | 35 reschedule_at_(rtc::TimeMillis() + kPollDelayMs) { in NullAudioPoller() 60 int64_t now = rtc::TimeMillis(); in OnMessage()
|
/external/webrtc/common_audio/ |
D | smoothing_filter.cc | 43 const int64_t now_ms = rtc::TimeMillis(); in AddSample() 63 ExtrapolateLastSample(rtc::TimeMillis()); in GetAverage()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_complexity_unittest.cc | 39 const int64_t start_time_ms = rtc::TimeMillis(); in RunComplexityTest() 48 return rtc::TimeMillis() - start_time_ms; in RunComplexityTest()
|
/external/webrtc/common_video/ |
D | video_render_frames.cc | 52 const int64_t time_now = rtc::TimeMillis(); in AddFrame() 108 render_delay_ms_ - rtc::TimeMillis(); in TimeToNextFrameRelease()
|
/external/perfetto/test/ |
D | fake_producer.cc | 189 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/ |
D | file_audio_device.cc | 458 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/ |
D | packet_sender.cc | 33 : 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/ |
D | rtc_event_log_impl.cc | 61 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/ |
D | Channel.cc | 203 _beginTime(rtc::TimeMillis()), in Channel() 254 _beginTime = rtc::TimeMillis(); in ResetStats() 269 uint64_t currTime = rtc::TimeMillis(); in BitRate()
|