/external/webrtc/webrtc/system_wrappers/include/ |
D | tick_util.h | 38 class TickTime { 40 TickTime(); 41 explicit TickTime(int64_t ticks); 44 static TickTime Now(); 62 friend TickTime operator+(const TickTime lhs, const int64_t ticks); 63 TickTime& operator+=(const int64_t& ticks); 66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 99 friend class TickTime; 100 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs); 107 return TickTime::TicksToMilliseconds(interval_); in Milliseconds() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | tick_util.cc | 17 int64_t TickTime::MillisecondTimestamp() { in MillisecondTimestamp() 18 return TicksToMilliseconds(TickTime::Now().Ticks()); in MillisecondTimestamp() 21 int64_t TickTime::MicrosecondTimestamp() { in MicrosecondTimestamp() 22 return TicksToMicroseconds(TickTime::Now().Ticks()); in MicrosecondTimestamp() 25 int64_t TickTime::MillisecondsToTicks(const int64_t ms) { in MillisecondsToTicks() 44 int64_t TickTime::TicksToMilliseconds(const int64_t ticks) { in TicksToMilliseconds() 63 int64_t TickTime::TicksToMicroseconds(const int64_t ticks) { in TicksToMicroseconds() 88 int64_t TickTime::QueryOsForTicks() { in QueryOsForTicks()
|
D | condition_variable_unittest.cc | 194 int64_t start_ms = TickTime::MillisecondTimestamp(); in TEST() 196 int64_t end_ms = TickTime::MillisecondTimestamp(); in TEST()
|
/external/webrtc/webrtc/modules/audio_conference_mixer/source/ |
D | time_scheduler.cc | 20 _periodicityInTicks(TickTime::MillisecondsToTicks(periodicityInMs)), in TimeScheduler() 36 _lastPeriodMark = TickTime::Now(); in UpdateScheduler() 48 TickTime tickNow = TickTime::Now(); in UpdateScheduler() 92 TickTime tickNow = TickTime::Now(); in TimeToNextUpdate()
|
/external/webrtc/webrtc/modules/video_capture/ |
D | video_capture_impl.cc | 92 (TickTime::Now() - _lastProcessTime).Milliseconds(); in TimeUntilNextProcess() 100 const TickTime now = TickTime::Now(); in Process() 101 _lastProcessTime = TickTime::Now(); in Process() 150 _lastProcessTime(TickTime::Now()), in VideoCaptureImpl() 151 _lastFrameRateCallbackTime(TickTime::Now()), in VideoCaptureImpl() 158 _lastProcessFrameCount(TickTime::Now()), in VideoCaptureImpl() 310 _captureFrame.set_render_time_ms(TickTime::MillisecondTimestamp()); in IncomingFrame() 336 _lastFrameRateCallbackTime = TickTime::Now(); in EnableFrameRateCallback() 368 _incomingFrameTimes[0] = TickTime::Now(); in UpdateFrameCount() 371 uint32_t VideoCaptureImpl::CalculateFrameRate(const TickTime& now) in CalculateFrameRate()
|
D | video_capture_impl.h | 116 uint32_t CalculateFrameRate(const TickTime& now); 120 TickTime _lastProcessTime; // last time the module process function was called. 121 TickTime _lastFrameRateCallbackTime; // last time the frame rate callback function was called. 130 TickTime _lastProcessFrameCount; 131 TickTime _incomingFrameTimes[kFrameRateCountHistorySize];// timestamp for local captured frames
|
/external/webrtc/webrtc/common_audio/resampler/ |
D | sinc_resampler_unittest.cc | 109 TickTime start = TickTime::Now(); in TEST() 112 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST() 181 TickTime start = TickTime::Now(); in TEST() 187 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST() 198 start = TickTime::Now(); in TEST() 205 (TickTime::Now() - start).Microseconds(); in TEST() 211 start = TickTime::Now(); in TEST() 218 (TickTime::Now() - start).Microseconds(); in TEST()
|
D | push_sinc_resampler_unittest.cc | 89 TickTime start = TickTime::Now(); in ResampleBenchmarkTest() 93 double total_time_sinc_us = (TickTime::Now() - start).Microseconds(); in ResampleBenchmarkTest() 98 start = TickTime::Now(); in ResampleBenchmarkTest() 116 double total_time_us = (TickTime::Now() - start).Microseconds(); in ResampleBenchmarkTest()
|
/external/webrtc/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 32 using webrtc::TickTime; 44 int64_t start = TickTime::MillisecondTimestamp(); \ 45 while (!res && TickTime::MillisecondTimestamp() < start + timeout) { \ 127 videoFrame.render_time_ms() >= TickTime::MillisecondTimestamp()-30 && in OnIncomingCapturedFrame() 128 videoFrame.render_time_ms() <= TickTime::MillisecondTimestamp()); in OnIncomingCapturedFrame() 286 int64_t start_time = TickTime::MillisecondTimestamp(); in TEST_F() 305 EXPECT_LE(TickTime::MillisecondTimestamp() - start_time, 4000); in TEST_F() 312 int64_t stop_time = TickTime::MillisecondTimestamp(); in TEST_F() 317 EXPECT_LE(TickTime::MillisecondTimestamp() - stop_time, 3000); in TEST_F() 502 TickTime startTime = TickTime::Now(); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | deflickering_test.cc | 51 TickTime t0; in TEST_F() 52 TickTime t1; in TEST_F() 64 t0 = TickTime::Now(); in TEST_F() 69 t1 = TickTime::Now(); in TEST_F()
|
/external/webrtc/webrtc/voice_engine/ |
D | monitor_module.cc | 22 _lastProcessTime(TickTime::MillisecondTimestamp()) in MonitorModule() 58 int64_t now = TickTime::MillisecondTimestamp(); in TimeUntilNextProcess() 66 _lastProcessTime = TickTime::MillisecondTimestamp(); in Process()
|
/external/webrtc/webrtc/modules/video_coding/codecs/test/ |
D | videoprocessor.cc | 200 encode_start_ = TickTime::Now(); in ProcessFrame() 247 TickTime encode_stop = TickTime::Now(); in FrameEncoded() 292 decode_start_ = TickTime::Now(); in FrameEncoded() 308 TickTime decode_stop = TickTime::Now(); in FrameDecoded() 372 const webrtc::TickTime& start, in GetElapsedTimeMicroseconds() 373 const webrtc::TickTime& stop) { in GetElapsedTimeMicroseconds()
|
D | videoprocessor.h | 180 int GetElapsedTimeMicroseconds(const webrtc::TickTime& start, 181 const webrtc::TickTime& stop); 226 webrtc::TickTime encode_start_; 227 webrtc::TickTime decode_start_;
|
/external/webrtc/webrtc/modules/video_processing/ |
D | video_decimator.cc | 98 ProcessIncomingframe_rate(TickTime::MillisecondTimestamp()); in GetDecimatedFrameRate() 107 ProcessIncomingframe_rate(TickTime::MillisecondTimestamp()); in Inputframe_rate() 112 int64_t now = TickTime::MillisecondTimestamp(); in UpdateIncomingframe_rate()
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_file_processor.h | 63 : proc_time_(proc_time), start_time_(TickTime::Now()) {} in ScopedTimer() 66 TickInterval interval = TickTime::Now() - start_time_; in ~ScopedTimer() 74 TickTime start_time_;
|
D | process_test.cc | 568 TickTime t0 = TickTime::Now(); in void_main() 569 TickTime t1 = t0; in void_main() 671 t0 = TickTime::Now(); in void_main() 687 t1 = TickTime::Now(); in void_main() 732 t0 = TickTime::Now(); in void_main() 790 t1 = TickTime::Now(); in void_main() 924 t0 = TickTime::Now(); in void_main() 931 t1 = TickTime::Now(); in void_main() 981 t0 = TickTime::Now(); in void_main() 1029 t1 = TickTime::Now(); in void_main()
|
/external/webrtc/webrtc/system_wrappers/test/TestSort/ |
D | TestSort.cc | 162 TickTime t0 = TickTime::Now(); in RunSortTest() 179 TickTime t1 = TickTime::Now(); in RunSortTest()
|
/external/webrtc/webrtc/video/ |
D | vie_sync_module.cc | 58 last_sync_time_(TickTime::Now()), in ViESyncModule() 101 return kSyncIntervalMs - (TickTime::Now() - last_sync_time_).Milliseconds(); in TimeUntilNextProcess() 106 last_sync_time_ = TickTime::Now(); in Process()
|
D | video_capture_input.cc | 50 TickTime::MillisecondTimestamp()), in VideoCaptureInput() 87 : TickTime::MillisecondTimestamp(); in IncomingCapturedFrame()
|
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
D | testAPI.cc | 316 videoFrame0.set_render_time_ms(TickTime::MillisecondTimestamp() in TestSingleStream() 390 videoFrame0.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestBitmapText() 475 videoFrame0.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestMultipleStreams() 480 videoFrame1.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestMultipleStreams() 485 videoFrame2.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestMultipleStreams() 490 videoFrame3.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestMultipleStreams() 548 videoFrame0.set_render_time_ms(TickTime::MillisecondTimestamp() + in TestExternalRender()
|
/external/webrtc/webrtc/common_video/ |
D | video_render_frames.cc | 30 const int64_t time_now = TickTime::MillisecondTimestamp(); in AddFrame() 77 TickTime::MillisecondTimestamp(); in TimeToNextFrameRelease()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | process_thread_impl.cc | 191 int64_t now = TickTime::MillisecondTimestamp(); in Process() 212 int64_t new_now = TickTime::MillisecondTimestamp(); in Process() 230 int64_t time_to_wait = next_checkpoint - TickTime::MillisecondTimestamp(); in Process()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/ |
D | vp8_impl_unittest.cc | 161 int64_t startTime = TickTime::MillisecondTimestamp(); in WaitForEncodedFrame() 162 while (TickTime::MillisecondTimestamp() - startTime < kMaxWaitEncTimeMs) { in WaitForEncodedFrame() 171 int64_t startTime = TickTime::MillisecondTimestamp(); in WaitForDecodedFrame() 172 while (TickTime::MillisecondTimestamp() - startTime < kMaxWaitDecTimeMs) { in WaitForDecodedFrame()
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
D | screen_capturer_win_gdi.cc | 74 TickTime capture_start_time = TickTime::Now(); in Capture() 131 (TickTime::Now() - capture_start_time).Milliseconds()); in Capture()
|
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
D | full_screen_chrome_window_detector.cc | 216 (TickTime::Now() - last_udpate_time_).Milliseconds(); in FindFullScreenWindow() 228 (TickTime::Now() - last_udpate_time_).Milliseconds() in UpdateWindowListIfNeeded() 240 last_udpate_time_ = TickTime::Now(); in UpdateWindowListIfNeeded()
|