Home
last modified time | relevance | path

Searched refs:CLOCK_MONOTONIC (Results 1 – 25 of 95) sorted by relevance

1234

/external/kernel-headers/original/uapi/linux/
Dtime.h48 #define CLOCK_MONOTONIC 1 macro
61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
62 #define CLOCKS_MONO CLOCK_MONOTONIC
/external/compiler-rt/test/tsan/
Dcond_version.c26 pthread_condattr_setclock(&at, CLOCK_MONOTONIC); in main()
29 clock_gettime(CLOCK_MONOTONIC, &ts0); in main()
39 clock_gettime(CLOCK_MONOTONIC, &ts2); in main()
Dbench.h35 clock_gettime(CLOCK_MONOTONIC, &tp0); in main()
38 clock_gettime(CLOCK_MONOTONIC, &tp1); in main()
/external/rmi4utils/rmi4update/
Drmi4update.cpp136 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
144 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
164 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
177 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
183 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
190 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
197 clock_gettime(CLOCK_MONOTONIC, &start); in UpdateFirmware()
204 clock_gettime(CLOCK_MONOTONIC, &end); in UpdateFirmware()
/external/libmicrohttpd/src/microspdy/
Dinternal.c33 #ifdef CLOCK_MONOTONIC in SPDYF_monotonic_time()
35 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts)) in SPDYF_monotonic_time()
/external/libcxx/src/
Dchrono.cpp19 #if !defined(_LIBCPP_HAS_NO_MONOTONIC_CLOCK) && !defined(CLOCK_MONOTONIC)
72 #ifdef CLOCK_MONOTONIC
78 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
/external/strace/xlat/
Dclocknames.h14 #if defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC)
15 XLAT(CLOCK_MONOTONIC),
Dclocknames.in2 CLOCK_MONOTONIC
/external/libdrm/tests/exynos/
Dexynos_fimg2d_perf.c78 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_simple()
89 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_simple()
172 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_multi()
182 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_multi()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DCondVar.cpp44 pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in CondVar()
107 if (clock_gettime (CLOCK_MONOTONIC, &absoluteTime) == -1) in wait()
/external/libmicrohttpd/src/microhttpd/
Dinternal.c185 #ifdef CLOCK_MONOTONIC in MHD_monotonic_time()
188 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts)) in MHD_monotonic_time()
/external/strace/tests/
Dtimer_create.c62 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1])) in main()
101 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3])) in main()
/external/dbus/dbus/
Ddbus-sysdeps-pthread.c185 pthread_condattr_setclock (&attr, CLOCK_MONOTONIC); in _dbus_platform_condvar_new()
231 clock_gettime (CLOCK_MONOTONIC,&monotonic_timer); in _dbus_platform_condvar_wait_timeout()
270 if (clock_getres (CLOCK_MONOTONIC, &dummy) == 0) in check_monotonic_clock()
/external/webrtc/webrtc/system_wrappers/source/
Devent_timer_posix.cc49 pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); in EventTimerPosix()
81 clock_gettime(CLOCK_MONOTONIC, &end_at); in Wait()
178 clock_gettime(CLOCK_MONOTONIC, &created_at_); in Process()
Dcondition_variable_posix.cc52 result = pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); in Construct()
97 clock_gettime(CLOCK_MONOTONIC, &ts); in SleepCS()
/external/autotest/client/tests/kvm/autotest_control/
Dmonotonic_time.control18 # Test gettimeofday(), TSC, and clock_gettime(CLOCK_MONOTONIC)
26 # clock_gettime(CLOCK_MONOTONIC) - nanoseconds
/external/autotest/client/tests/monotonic_time/
Dcontrol18 # Test gettimeofday(), TSC, and clock_gettime(CLOCK_MONOTONIC)
26 # clock_gettime(CLOCK_MONOTONIC) - nanoseconds
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c270 clock_gettime(CLOCK_MONOTONIC, &now); in timeval_remaining()
315 clock_gettime(CLOCK_MONOTONIC, &timeout); in phDal4Nfc_uart_read()
323 clock_gettime(CLOCK_MONOTONIC, &timeout); in phDal4Nfc_uart_read()
/external/libchrome/base/synchronization/
Dcondition_variable_posix.cc36 pthread_condattr_setclock(&attrs, CLOCK_MONOTONIC); in ConditionVariable()
102 clock_gettime(CLOCK_MONOTONIC, &now); in TimedWait()
/external/vulkan-validation-layers/demos/smoke/
DShellAndroid.cpp44 clock_gettime(CLOCK_MONOTONIC, &start_); in reset()
50 clock_gettime(CLOCK_MONOTONIC, &now); in get()
/external/drm_hwcomposer/
Dworker.cpp50 pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); in InitWorker()
146 ret = clock_gettime(CLOCK_MONOTONIC, &abs_deadline); in WaitForSignalOrExitLocked()
Dvsyncworker.cpp114 int ret = clock_gettime(CLOCK_MONOTONIC, &vsync); in SyntheticWaitVBlank()
129 ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &vsync, NULL); in SyntheticWaitVBlank()
/external/webrtc/webrtc/system_wrappers/
DBUILD.gn116 # TODO(leozwang): Investigate CLOCK_REALTIME and CLOCK_MONOTONIC
118 # remove it after I verify that CLOCK_MONOTONIC is fully functional
132 # Define this if the Linux system does not support CLOCK_MONOTONIC.
/external/wpa_supplicant_8/src/utils/
Dos_unix.c75 #elif defined(CLOCK_MONOTONIC) in os_get_reltime()
76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime()
93 clock_id = CLOCK_MONOTONIC; in os_get_reltime()
96 #ifdef CLOCK_MONOTONIC in os_get_reltime()
97 case CLOCK_MONOTONIC: in os_get_reltime()
/external/libmicrohttpd/src/testspdy/
Dtest_session_timeout.c56 #ifdef CLOCK_MONOTONIC in monotonic_time()
58 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts)) in monotonic_time()

1234