Home
last modified time | relevance | path

Searched refs:time_delta (Results 1 – 25 of 27) sorted by relevance

12

/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc66 uint64_t time_delta = 1000000 / 5; in TEST_F() local
69 regular_estimator_.AdvanceClock(time_delta); in TEST_F()
71 low_rate_estimator_.AdvanceClock(time_delta); in TEST_F()
83 uint64_t time_delta = 1000000 / 8; in TEST_F() local
86 regular_estimator_.AdvanceClock(time_delta); in TEST_F()
88 low_rate_estimator_.AdvanceClock(time_delta); in TEST_F()
100 uint64_t time_delta = 1000000 / 30; in TEST_F() local
103 regular_estimator_.AdvanceClock(time_delta); in TEST_F()
105 low_rate_estimator_.AdvanceClock(time_delta); in TEST_F()
117 uint64_t time_delta = 1000000 / 10; in TEST_F() local
[all …]
/external/libchrome/base/process/
Dprocess_metrics.cc78 int64_t time_delta = (time - last_idle_wakeups_time_).InMicroseconds(); in CalculateIdleWakeupsPerSecond() local
79 if (time_delta == 0) { in CalculateIdleWakeupsPerSecond()
89 return (wakeups_delta_for_ms + time_delta / 2) / time_delta; in CalculateIdleWakeupsPerSecond()
Dprocess_metrics_mac.cc299 int64_t time_delta = (time - last_cpu_time_).InMicroseconds(); in GetCPUUsage() local
300 DCHECK_NE(0U, time_delta); in GetCPUUsage()
301 if (time_delta == 0) in GetCPUUsage()
307 return static_cast<double>(system_time_delta * 100.0) / time_delta; in GetCPUUsage()
Dprocess_metrics_linux.cc224 TimeDelta time_delta = time - last_cpu_time_; in GetCPUUsage() local
225 if (time_delta.is_zero()) { in GetCPUUsage()
247 time_delta.InSecondsF(); in GetCPUUsage()
/external/chromium-trace/catapult/firefighter/default/common/
Dquery_filter.py69 time_delta = -abs(float(time_parameter[:-1]))
70 time_parameter = time_delta * units[unit]
/external/autotest/utils/
Dsite_check_dut_usage.py75 def _total_seconds(time_delta): argument
79 return float(time_delta.days * 86400 + time_delta.seconds)
/external/libweave/src/states/
Dstate_change_queue_unittest.cc62 base::TimeDelta time_delta = base::TimeDelta::FromMinutes(1); in TEST_F() local
74 timestamp + time_delta, in TEST_F()
84 EXPECT_EQ(timestamp + time_delta, changes[1].timestamp); in TEST_F()
/external/v8/src/base/platform/
Delapsed-timer.h77 bool HasExpired(TimeDelta time_delta) const { in HasExpired() argument
79 return Elapsed() >= time_delta; in HasExpired()
/external/gtest/test/
Dgtest_xml_output_unittest.py195 time_delta = abs(datetime.datetime.now() - date_time_from_xml)
197 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
198 'time_delta is %s' % time_delta)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_xml_output_unittest.py185 time_delta = abs(datetime.datetime.now() - date_time_from_xml)
187 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
188 'time_delta is %s' % time_delta)
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_xml_output_unittest.py195 time_delta = abs(datetime.datetime.now() - date_time_from_xml)
197 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
198 'time_delta is %s' % time_delta)
/external/autotest/server/site_tests/platform_ExternalUsbPeripherals/
Dplatform_ExternalUsbPeripherals.py82 time_delta = 0
86 time_delta = int(time.time()) - start_time
87 if time_delta > timeout:
91 logging.debug('Succeeded in :%d sec', time_delta)
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.cc97 int64_t time_delta = 0; in IncomingPacket() local
101 &time_delta, &size_delta)) { in IncomingPacket()
103 estimator->estimator.Update(time_delta, timestamp_delta_ms, size_delta, in IncomingPacket()
Doveruse_detector_unittest.cc96 int64_t time_delta; in UpdateDetector() local
102 &time_delta, in UpdateDetector()
105 overuse_estimator_->Update(time_delta, timestamp_delta_ms, size_delta, in UpdateDetector()
/external/autotest/client/tests/kvm/tests/
Dstepmaker.py168 time_delta = time.time() - self.time_when_actions_completed
169 if time_delta < 1.0: time_delta = 1.0
170 self.spin_sleep.set_value(round(time_delta))
171 self.spin_barrier_timeout.set_value(round(time_delta * 5))
/external/libweave/third_party/chromium/base/time/
Dtime.cc129 std::ostream& operator<<(std::ostream& os, TimeDelta time_delta) { in operator <<() argument
130 return os << time_delta.InSecondsF() << "s"; in operator <<()
Dtime.h266 BASE_EXPORT std::ostream& operator<<(std::ostream& os, TimeDelta time_delta);
/external/libchrome/base/time/
Dtime.cc132 std::ostream& operator<<(std::ostream& os, TimeDelta time_delta) { in operator <<() argument
133 return os << time_delta.InSecondsF() << "s"; in operator <<()
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java182 long time_delta = (time - mLastTime); in onDrawFrame() local
240 mProfileFrameTime += time_delta; in onDrawFrame()
/external/netperf/src/
Dhist.h118 void HIST_add(register HIST h, int time_delta);
Dnetlib.c4262 HIST_add(register HIST h, int time_delta){ in HIST_add() argument
4271 if (time_delta < 0) { in HIST_add()
4277 h->hmin = h->hmax = time_delta; in HIST_add()
4279 h->sum += time_delta; in HIST_add()
4284 h->sumsquare += pow(time_delta, 2); in HIST_add()
4286 h->hmin = ((h->hmin < time_delta) ? h->hmin : time_delta); in HIST_add()
4287 h->hmax = ((h->hmax > time_delta) ? h->hmax : time_delta); in HIST_add()
4288 val = (float) time_delta; in HIST_add()
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Dtest_oauth2_client.py198 self.assertFalse(token.ShouldRefresh(time_delta=120))
202 self.assertTrue(token.ShouldRefresh(time_delta=120))
Doauth2_client.py714 def ShouldRefresh(self, time_delta=300): argument
728 + datetime.timedelta(seconds=time_delta) > self.expiry)
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.cpp445 float time_delta = (float)time - last_time; in draw() local
446 float time_delta_per_impression = time_delta / impressions; in draw()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py711 time_delta = self.token_expiry - now
714 return time_delta.days * 86400 + time_delta.seconds

12