Home
last modified time | relevance | path

Searched refs:TickTime (Results 1 – 25 of 53) sorted by relevance

123

/external/webrtc/webrtc/system_wrappers/include/
Dtick_util.h38 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/
Dtick_util.cc17 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()
Dcondition_variable_unittest.cc194 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/
Dtime_scheduler.cc20 _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/
Dvideo_capture_impl.cc92 (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()
Dvideo_capture_impl.h116 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/
Dsinc_resampler_unittest.cc109 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()
Dpush_sinc_resampler_unittest.cc89 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/
Dvideo_capture_unittest.cc32 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/
Ddeflickering_test.cc51 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/
Dmonitor_module.cc22 _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/
Dvideoprocessor.cc200 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()
Dvideoprocessor.h180 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/
Dvideo_decimator.cc98 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/
Daudio_file_processor.h63 : proc_time_(proc_time), start_time_(TickTime::Now()) {} in ScopedTimer()
66 TickInterval interval = TickTime::Now() - start_time_; in ~ScopedTimer()
74 TickTime start_time_;
Dprocess_test.cc568 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/
DTestSort.cc162 TickTime t0 = TickTime::Now(); in RunSortTest()
179 TickTime t1 = TickTime::Now(); in RunSortTest()
/external/webrtc/webrtc/video/
Dvie_sync_module.cc58 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()
Dvideo_capture_input.cc50 TickTime::MillisecondTimestamp()), in VideoCaptureInput()
87 : TickTime::MillisecondTimestamp(); in IncomingCapturedFrame()
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI.cc316 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/
Dvideo_render_frames.cc30 const int64_t time_now = TickTime::MillisecondTimestamp(); in AddFrame()
77 TickTime::MillisecondTimestamp(); in TimeToNextFrameRelease()
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl.cc191 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/
Dvp8_impl_unittest.cc161 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/
Dscreen_capturer_win_gdi.cc74 TickTime capture_start_time = TickTime::Now(); in Capture()
131 (TickTime::Now() - capture_start_time).Milliseconds()); in Capture()
/external/webrtc/webrtc/modules/desktop_capture/mac/
Dfull_screen_chrome_window_detector.cc216 (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()

123