Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Dtick_util.h38 class TickTime {
40 TickTime();
41 explicit TickTime(int64_t ticks);
44 static TickTime Now();
60 friend TickTime operator+(const TickTime lhs, const int64_t ticks);
61 TickTime& operator+=(const int64_t& ticks);
64 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
108 friend class TickTime; variable
109 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
125 inline TickInterval operator-(const TickTime& lhs, const TickTime& rhs) {
[all …]
/external/webrtc/src/system_wrappers/interface/
Dtick_util.h35 class TickTime
39 static TickTime Now();
54 friend TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks);
55 TickTime& operator+=(const WebRtc_Word64& rhs);
59 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
90 friend class TickTime; variable
91 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
107 inline TickInterval operator-(const TickTime& lhs,const TickTime& rhs)
112 inline TickTime operator+(const TickTime lhs, const WebRtc_Word64 ticks)
114 TickTime time = lhs;
[all …]
/external/chromium_org/third_party/webrtc/video_engine/
Dcall_stats_unittest.cc36 TickTime::UseFakeClock(12345); in SetUp()
46 TickTime::AdvanceFakeClock(1000); in TEST_F()
57 TickTime::AdvanceFakeClock(kRttTimeOutMs); in TEST_F()
78 TickTime::AdvanceFakeClock(1000); in TEST_F()
84 TickTime::AdvanceFakeClock(999); in TEST_F()
91 TickTime::AdvanceFakeClock(1); in TEST_F()
115 TickTime::AdvanceFakeClock(1000); in TEST_F()
126 TickTime::AdvanceFakeClock(1000); in TEST_F()
136 TickTime::AdvanceFakeClock(1000); in TEST_F()
151 TickTime::AdvanceFakeClock(1000); in TEST_F()
[all …]
Dcall_stats.cc48 last_process_time_(TickTime::MillisecondTimestamp()), in CallStats()
58 TickTime::MillisecondTimestamp(); in TimeUntilNextProcess()
63 if (TickTime::MillisecondTimestamp() < last_process_time_ + kUpdateIntervalMs) in Process()
67 int64_t time_now = TickTime::MillisecondTimestamp(); in Process()
125 int64_t time_now = TickTime::MillisecondTimestamp(); in OnRttUpdate()
Dvie_remb_unittest.cc36 TickTime::UseFakeClock(12345); in SetUp()
55 TickTime::AdvanceFakeClock(1000); in TEST_F()
80 TickTime::AdvanceFakeClock(1000); in TEST_F()
109 TickTime::AdvanceFakeClock(1000); in TEST_F()
137 TickTime::AdvanceFakeClock(1000); in TEST_F()
171 TickTime::AdvanceFakeClock(1000); in TEST_F()
207 TickTime::AdvanceFakeClock(1000); in TEST_F()
239 TickTime::AdvanceFakeClock(1000); in TEST_F()
Dvie_remb.cc32 last_remb_time_(TickTime::MillisecondTimestamp()), in VieRemb()
108 last_remb_time_ = TickTime::MillisecondTimestamp() - kRembSendIntervalMs; in OnReceiveBitrateChanged()
114 int64_t now = TickTime::MillisecondTimestamp(); in OnReceiveBitrateChanged()
/external/chromium_org/third_party/webrtc/test/
Dfake_network_pipe_unittest.cc42 TickTime::UseFakeClock(12345); in SetUp()
91 TickTime::AdvanceFakeClock(kPacketTimeMs); in TEST_F()
97 TickTime::AdvanceFakeClock(9 * kPacketTimeMs - 1); in TEST_F()
103 TickTime::AdvanceFakeClock(1); in TEST_F()
127 TickTime::AdvanceFakeClock(kPacketTimeMs); in TEST_F()
133 TickTime::AdvanceFakeClock(config.queue_delay_ms); in TEST_F()
139 TickTime::AdvanceFakeClock(kPacketTimeMs); in TEST_F()
163 TickTime::AdvanceFakeClock(3 * kPacketTimeMs); in TEST_F()
184 TickTime::AdvanceFakeClock(3 * kPacketTimeMs + config.queue_delay_ms); in TEST_F()
222 TickTime::AdvanceFakeClock(packet_time_ms); in TEST_F()
[all …]
Dfake_network_pipe.cc83 next_process_time_(TickTime::MillisecondTimestamp()) { in FakeNetworkPipe()
119 int64_t time_now = TickTime::MillisecondTimestamp(); in SendPacket()
156 int64_t time_now = TickTime::MillisecondTimestamp(); in Process()
216 TickTime::MillisecondTimestamp()), 0); in TimeUntilNextProcess()
/external/chromium_org/third_party/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()
93 TickTime tickNow = TickTime::Now(); in TimeToNextUpdate()
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Dtick_util.cc17 bool TickTime::use_fake_clock_ = false;
18 int64_t TickTime::fake_ticks_ = 0;
20 void TickTime::UseFakeClock(int64_t start_millisecond) { in UseFakeClock()
25 void TickTime::AdvanceFakeClock(int64_t milliseconds) { in AdvanceFakeClock()
30 int64_t TickTime::QueryOsForTicks() { in QueryOsForTicks()
31 TickTime result; in QueryOsForTicks()
/external/chromium_org/third_party/webrtc/modules/video_capture/
Dvideo_capture_impl.cc97 - (int32_t)((TickTime::Now() - _lastProcessTime).Milliseconds()); in TimeUntilNextProcess()
107 const TickTime now = TickTime::Now(); in Process()
108 _lastProcessTime = TickTime::Now(); in Process()
157 _lastProcessTime(TickTime::Now()), in VideoCaptureImpl()
158 _lastFrameRateCallbackTime(TickTime::Now()), in VideoCaptureImpl()
165 _lastProcessFrameCount(TickTime::Now()), in VideoCaptureImpl()
170 TickTime::MillisecondTimestamp()) { in VideoCaptureImpl()
238 captureFrame.set_render_time_ms(TickTime::MillisecondTimestamp()); in DeliverCapturedFrame()
371 _lastFrameRateCallbackTime = TickTime::Now(); in EnableFrameRateCallback()
395 _incomingFrameTimes[0] = TickTime::Now(); in UpdateFrameCount()
[all …]
Dvideo_capture_impl.h120 uint32_t CalculateFrameRate(const TickTime& now);
124 TickTime _lastProcessTime; // last time the module process function was called.
125 TickTime _lastFrameRateCallbackTime; // last time the frame rate callback function was called.
134 TickTime _lastProcessFrameCount;
135 TickTime _incomingFrameTimes[kFrameRateCountHistorySize];// timestamp for local captured frames
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/helpers/
Dvie_file_capture_device.cc26 frame_start_ = webrtc::TickTime::MillisecondTimestamp(); in FramePacemaker()
30 uint64_t now = webrtc::TickTime::MillisecondTimestamp(); in SleepIfNecessary()
78 uint64_t start_time_ms = webrtc::TickTime::MillisecondTimestamp(); in ReadFileFor()
90 webrtc::TickTime::MillisecondTimestamp()); in ReadFileFor()
93 elapsed_ms = webrtc::TickTime::MillisecondTimestamp() - start_time_ms; in ReadFileFor()
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/
Ddeflickering_test.cc49 TickTime t0; in TEST_F()
50 TickTime t1; in TEST_F()
64 t0 = TickTime::Now(); in TEST_F()
68 t1 = TickTime::Now(); in TEST_F()
Dcolor_enhancement_test.cc24 TickTime t0; in TEST_F()
25 TickTime t1; in TEST_F()
51 t0 = TickTime::Now(); in TEST_F()
53 t1 = TickTime::Now(); in TEST_F()
/external/chromium_org/third_party/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc108 TickTime start = TickTime::Now(); in TEST()
111 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST()
180 TickTime start = TickTime::Now(); in TEST()
186 double total_time_c_us = (TickTime::Now() - start).Microseconds(); in TEST()
197 start = TickTime::Now(); in TEST()
204 (TickTime::Now() - start).Microseconds(); in TEST()
210 start = TickTime::Now(); in TEST()
217 (TickTime::Now() - start).Microseconds(); in TEST()
/external/chromium_org/third_party/webrtc/voice_engine/
Dmonitor_module.cc22 _lastProcessTime(TickTime::MillisecondTimestamp()) in MonitorModule()
64 uint32_t now = TickTime::MillisecondTimestamp(); in TimeUntilNextProcess()
73 _lastProcessTime = TickTime::MillisecondTimestamp(); in Process()
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dfile_recorder_impl.h71 const TickTime* playoutTS = NULL);
91 const TickTime* playoutTS);
116 const TickTime& playoutTS) in AudioFrameFileInfo()
132 TickTime _playoutTS;
156 const TickTime* playoutTS);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DTestLoadGenerator.cc128 …return(generatePayload( static_cast<uint32_t>( TickTime::MillisecondTimestamp() * _rtpSampleRate /… in generatePayload()
169 int64_t nextSendTime = TickTime::MillisecondTimestamp(); in GeneratorLoop()
183 int32_t waitTime = static_cast<int32_t>(nextSendTime - TickTime::MillisecondTimestamp()); in GeneratorLoop()
245 int64_t nextSendTime = TickTime::MillisecondTimestamp(); in GeneratorLoop()
291 int32_t waitTime = static_cast<int32_t>(nextSendTime - TickTime::MillisecondTimestamp()); in GeneratorLoop()
366 _frChangeTimeMs(TickTime::MillisecondTimestamp() + _avgFrPeriodMs), in CBRVarFRGenerator()
380 const int64_t nowMs = TickTime::MillisecondTimestamp(); in ChangeFrameRate()
/external/chromium_org/third_party/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc34 using webrtc::TickTime;
46 int64_t start = TickTime::MillisecondTimestamp(); \
47 while (!res && TickTime::MillisecondTimestamp() < start + timeout) { \
124 videoFrame.render_time_ms() >= TickTime::MillisecondTimestamp()-30 && in OnIncomingCapturedFrame()
125 videoFrame.render_time_ms() <= TickTime::MillisecondTimestamp()); in OnIncomingCapturedFrame()
283 int64_t start_time = TickTime::MillisecondTimestamp(); in TEST_F()
302 EXPECT_LE(TickTime::MillisecondTimestamp() - start_time, 4000); in TEST_F()
309 int64_t stop_time = TickTime::MillisecondTimestamp(); in TEST_F()
314 EXPECT_LE(TickTime::MillisecondTimestamp() - stop_time, 3000); in TEST_F()
557 TickTime startTime = TickTime::Now(); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.cc199 encode_start_ = TickTime::Now(); in ProcessFrame()
243 TickTime encode_stop = TickTime::Now(); in FrameEncoded()
281 decode_start_ = TickTime::Now(); in FrameEncoded()
297 TickTime decode_stop = TickTime::Now(); in FrameDecoded()
361 const webrtc::TickTime& start, const webrtc::TickTime& stop) { in GetElapsedTimeMicroseconds()
Dvideoprocessor.h176 int GetElapsedTimeMicroseconds(const webrtc::TickTime& start,
177 const webrtc::TickTime& stop);
219 webrtc::TickTime encode_start_;
220 webrtc::TickTime decode_start_;
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
Dvideo_decimator.cc97 ProcessIncomingframe_rate(TickTime::MillisecondTimestamp()); in Decimatedframe_rate()
106 ProcessIncomingframe_rate(TickTime::MillisecondTimestamp()); in Inputframe_rate()
111 int64_t now = TickTime::MillisecondTimestamp(); in UpdateIncomingframe_rate()
/external/chromium_org/third_party/webrtc/system_wrappers/test/TestSort/
DTestSort.cc162 TickTime t0 = TickTime::Now(); in RunSortTest()
179 TickTime t1 = TickTime::Now(); in RunSortTest()
/external/webrtc/src/system_wrappers/test/TestSort/
DTestSort.cpp161 TickTime t0 = TickTime::Now(); in RunSortTest()
178 TickTime t1 = TickTime::Now(); in RunSortTest()

123