Home
last modified time | relevance | path

Searched refs:duration_ms (Results 1 – 25 of 54) sorted by relevance

123

/external/webrtc/src/system_wrappers/source/
Dcpu_measurement_harness.cc24 int duration_ms) { in Create() argument
28 if (work_period_ms > duration_ms) { in Create()
34 if (duration_ms < 0) { in Create()
41 work_iterations_per_period, duration_ms); in Create()
47 int duration_ms) in CpuMeasurementHarness() argument
51 duration_ms_(duration_ms), in CpuMeasurementHarness()
Dcpu_measurement_harness.h40 int duration_ms);
47 int work_iterations_per_period, int duration_ms);
Dtrace_unittest.cc50 const int duration_ms = 1000; in TEST() local
53 iterations_per_period, duration_ms); in TEST()
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dplatform_thread.cc51 void PlatformThread::Sleep(int32_t duration_ms) { in Sleep() argument
52 ::Sleep(duration_ms); in Sleep()
85 void PlatformThread::Sleep(int32_t duration_ms) {
89 sleep_time.tv_sec = duration_ms / 1000;
90 duration_ms -= sleep_time.tv_sec * 1000;
93 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
Dplatform_thread.h52 static void Sleep(int32_t duration_ms);
/external/sfntly/cpp/src/test/
Dplatform_thread.cc51 void PlatformThread::Sleep(int32_t duration_ms) { in Sleep() argument
52 ::Sleep(duration_ms); in Sleep()
85 void PlatformThread::Sleep(int32_t duration_ms) {
89 sleep_time.tv_sec = duration_ms / 1000;
90 duration_ms -= sleep_time.tv_sec * 1000;
93 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
Dplatform_thread.h52 static void Sleep(int32_t duration_ms);
/external/chromium_org/tools/telemetry/telemetry/page/actions/
Dtap.py34 duration_ms = 0
40 duration_ms = self.duration_ms
51 duration_ms))
61 duration_ms))
/external/chromium_org/content/common/input/
Dsynthetic_tap_gesture_params.cc11 SyntheticTapGestureParams::SyntheticTapGestureParams() : duration_ms(0) {} in SyntheticTapGestureParams()
17 duration_ms(other.duration_ms) {} in SyntheticTapGestureParams()
Dsynthetic_tap_gesture_params.h24 int duration_ms; member
Dinput_param_traits_unittest.cc63 EXPECT_EQ(a->duration_ms, b->duration_ms); in Compare()
226 gesture_params->duration_ms = 13; in TEST_F()
/external/chromium_org/tools/xdisplaycheck/
Dxdisplaycheck.cc23 void Sleep(int duration_ms) { in Sleep() argument
27 sleep_time.tv_sec = duration_ms / 1000; in Sleep()
28 duration_ms -= sleep_time.tv_sec * 1000; in Sleep()
31 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds. in Sleep()
/external/chromium/base/threading/
Dplatform_thread_posix.cc141 void PlatformThread::Sleep(int duration_ms) { in Sleep() argument
145 sleep_time.tv_sec = duration_ms / 1000; in Sleep()
146 duration_ms -= sleep_time.tv_sec * 1000; in Sleep()
149 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds. in Sleep()
Dplatform_thread_win.cc91 void PlatformThread::Sleep(int duration_ms) { in Sleep() argument
92 ::Sleep(duration_ms); in Sleep()
Dplatform_thread.h68 static void Sleep(int duration_ms);
/external/chromium_org/chrome/browser/metrics/
Dmetric_event_duration_details.h14 : event_name(e), duration_ms(d) {} in MetricEventDurationDetails()
17 int duration_ms; member
/external/chromium/chrome/browser/metrics/
Dmetric_event_duration_details.h15 : event_name(e), duration_ms(d) {} in MetricEventDurationDetails()
18 int duration_ms; member
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_tap_gesture.cc28 DCHECK_GE(params_.duration_ms, 0); in SyntheticTapGesture()
63 if (params_.duration_ms == 0) { in ForwardTouchOrMouseInputEvents()
73 base::TimeDelta::FromMilliseconds(params_.duration_ms)) { in ForwardTouchOrMouseInputEvents()
/external/chromium_org/build/android/pylib/instrumentation/
Dtest_runner.py340 duration_ms = int(time.time()) * 1000 - start_date_ms
354 test, result_type, start_date_ms, duration_ms, log=log)
357 test, base_test_result.ResultType.PASS, start_date_ms, duration_ms)
365 duration_ms = int(time.time()) * 1000 - start_date_ms
368 duration_ms = 0
373 test, base_test_result.ResultType.CRASH, start_date_ms, duration_ms,
/external/chromium_org/content/browser/speech/
Dspeech_recognition_browsertest.cc149 void FeedAudioController(int duration_ms, bool feed_with_noise) { in FeedAudioController() argument
160 ASSERT_EQ(0, duration_ms % ms_per_buffer); in FeedAudioController()
162 const int n_buffers = duration_ms / ms_per_buffer; in FeedAudioController()
/external/chromium_org/build/android/pylib/host_driven/
Dtest_runner.py34 duration_ms = (int(time.time()) * 1000) - start_date_ms
40 duration_ms,
Dtest_case.py173 duration_ms = int(time.time()) * 1000 - start_ms
178 self.tagged_name, test_type, start_ms, duration_ms, log=log))
/external/chromium_org/ash/test/
Dshelf_view_test_api.cc84 void ShelfViewTestAPI::SetAnimationDuration(int duration_ms) { in SetAnimationDuration() argument
85 shelf_view_->bounds_animator_->SetAnimationDuration(duration_ms); in SetAnimationDuration()
/external/chromium_org/media/base/android/
Ddemuxer_stream_player_params.cc16 duration_ms(0) {} in DemuxerConfigs()
/external/chromium_org/ppapi/tests/
Dtest_utils.cc55 void PlatformSleep(int duration_ms) { in PlatformSleep() argument
57 ::Sleep(duration_ms); in PlatformSleep()
59 usleep(duration_ms * 1000); in PlatformSleep()

123