Home
last modified time | relevance | path

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

123

/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.c23 pthread_condattr_setclock(&at, CLOCK_MONOTONIC); in main()
26 clock_gettime(CLOCK_MONOTONIC, &ts0); in main()
36 clock_gettime(CLOCK_MONOTONIC, &ts2); in main()
Dbench.h35 clock_gettime(CLOCK_MONOTONIC, &tp0); in main()
38 clock_gettime(CLOCK_MONOTONIC, &tp1); in main()
Dreal_deadlock_detector_stress_test.cc169 clock_gettime(CLOCK_MONOTONIC, &ts); in main()
/external/strace/xlat/
Dclocknames.h7 #if defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC)
8 XLAT(CLOCK_MONOTONIC),
Dclocknames.in2 CLOCK_MONOTONIC
/external/skia/tools/timer/
DSysTimer_posix.cpp23 if (-1 == clock_gettime(CLOCK_MONOTONIC, &fWall)) { in startWall()
46 if (-1 == clock_gettime(CLOCK_MONOTONIC, &end_wall)) { in endWall()
/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/webrtc/src/system_wrappers/source/
Devent_posix.cc76 result = pthread_condattr_setclock(&condAttr, CLOCK_MONOTONIC); in Construct()
143 clock_gettime(CLOCK_MONOTONIC, &tEnd); in Wait()
253 clock_gettime(CLOCK_MONOTONIC, &_tCreate); in Process()
Dcondition_variable_posix.cc58 result = pthread_condattr_setclock(&condAttr, CLOCK_MONOTONIC); in Construct()
114 clock_gettime(CLOCK_MONOTONIC, &ts); in SleepCS()
/external/dhcpcd/
Dcommon.c147 #if defined(_POSIX_MONOTONIC_CLOCK) && defined(CLOCK_MONOTONIC) in get_monotonic()
152 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in get_monotonic()
153 posix_clock = CLOCK_MONOTONIC; in get_monotonic()
/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/wpa_supplicant_8/src/utils/
Dos_unix.c68 #elif defined(CLOCK_MONOTONIC) in os_get_reltime()
69 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime()
86 clock_id = CLOCK_MONOTONIC; in os_get_reltime()
89 #ifdef CLOCK_MONOTONIC in os_get_reltime()
90 case CLOCK_MONOTONIC: in os_get_reltime()
/external/drm_hwcomposer/
Dvsyncworker.cpp114 int ret = clock_gettime(CLOCK_MONOTONIC, &vsync); in SyntheticWaitVBlank()
129 ret = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &vsync, NULL); in SyntheticWaitVBlank()
/external/android-clat/
Dclatd_microbenchmark.c144 clock_gettime(CLOCK_MONOTONIC, &tv1); in benchmark()
155 clock_gettime(CLOCK_MONOTONIC, &tv2); in benchmark()
/external/deqp/framework/delibs/deutil/
DdeClock.c51 clock_gettime(CLOCK_MONOTONIC, &currTime); in deGetMicroseconds()
/external/v8/src/base/platform/
Dcondition-variable.cc28 result = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); in ConditionVariable()
91 result = clock_gettime(CLOCK_MONOTONIC, &ts); in WaitFor()
/external/libdrm/freedreno/msm/
Dmsm_priv.h91 clock_gettime(CLOCK_MONOTONIC, &t); in get_abs_timeout()
/external/libcxx/src/
Dchrono.cpp123 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
/external/jemalloc/test/src/
Dtimer.c11 timer->clock_id = CLOCK_MONOTONIC; in timer_start()
/external/valgrind/drd/tests/
Dmonitor_example.cpp90 pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in Monitor()
/external/linux-tools-perf/src/tools/perf/
Dperf.h136 clock_gettime(CLOCK_MONOTONIC, &ts); in rdclock()
/external/openssh/
Dmisc.c887 (defined(CLOCK_MONOTONIC) || defined(CLOCK_BOOTTIME)) in monotime()
896 #if defined(CLOCK_MONOTONIC) in monotime()
897 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) in monotime()
/external/valgrind/memcheck/tests/linux/
Dtimerfd-syscall.c183 { CLOCK_MONOTONIC, "CLOCK MONOTONIC" }, in main()
/external/fio/engines/
Dposixaio.c24 clockid_t clk = CLOCK_MONOTONIC; in fill_timespec()

123