Home
last modified time | relevance | path

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

1234567891011

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
D3-1.c21 #ifdef CLOCK_MONOTONIC in main()
31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) { in main()
36 if (clock_gettime(CLOCK_MONOTONIC, &ts2) != 0) { in main()
43 if (clock_gettime(CLOCK_MONOTONIC, &ts3) != 0) { in main()
49 if (clock_gettime(CLOCK_MONOTONIC, &ts4) != 0) { in main()
/external/strace/xlat/
Dclocknames.h13 #if defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC)
15 static_assert((CLOCK_MONOTONIC) == (1), "CLOCK_MONOTONIC != 1");
18 # define CLOCK_MONOTONIC 1
97 [CLOCK_MONOTONIC] = XLAT(CLOCK_MONOTONIC),
/external/kernel-headers/original/uapi/linux/
Dtime.h75 #define CLOCK_MONOTONIC 1 macro
92 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
93 #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()
/external/adhd/cras/src/dsp/tests/
Ddsp_util_test.c296 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
302 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
309 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
315 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
333 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
339 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
347 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
353 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ 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/lz4/examples/
Dcompress_functions.c137 clock_gettime(CLOCK_MONOTONIC, &start); in bench()
150 clock_gettime(CLOCK_MONOTONIC, &start); in bench()
163 clock_gettime(CLOCK_MONOTONIC, &start); in bench()
196 clock_gettime(CLOCK_MONOTONIC, &start); in bench()
209 clock_gettime(CLOCK_MONOTONIC, &start); in bench()
220 clock_gettime(CLOCK_MONOTONIC, &end); in bench()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D6-3-buildonly.c15 #ifndef CLOCK_MONOTONIC
16 #error CLOCK_MONOTONIC not defined
/external/ltp/lib/newlib_tests/
Dtst_expiration_timer.c29 tst_timer_start(CLOCK_MONOTONIC); in do_test()
39 tst_timer_check(CLOCK_MONOTONIC); in setup()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D6-1.c21 #ifdef CLOCK_MONOTONIC in main()
26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
D20-1.c23 #ifdef CLOCK_MONOTONIC in main()
32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
D1-2.c35 rc = clock_getres(CLOCK_MONOTONIC, &ts); in main()
49 rc = pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/
D3-1.c20 #ifdef CLOCK_MONOTONIC in main()
28 if (clock_getres(CLOCK_MONOTONIC, &res) == 0) { in main()
/external/ltp/testcases/kernel/timers/include/
Dcommon_timers.h19 CLOCK_MONOTONIC,
45 CLOCK_TO_STR(CLOCK_MONOTONIC); in get_clock_str()
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dfutex_bench.c25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex()
32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
Dmmap_bench.c39 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap()
53 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ds-c.c141 PTHREAD_MUTEX_DEFAULT, PTHREAD_PROCESS_PRIVATE, CLOCK_MONOTONIC,
144 PTHREAD_MUTEX_DEFAULT, PTHREAD_PROCESS_SHARED, CLOCK_MONOTONIC,
148 PTHREAD_MUTEX_NORMAL, PTHREAD_PROCESS_PRIVATE, CLOCK_MONOTONIC,
151 PTHREAD_MUTEX_NORMAL, PTHREAD_PROCESS_SHARED, CLOCK_MONOTONIC,
155 CLOCK_MONOTONIC, "Errorcheck+Monotonic"}
158 CLOCK_MONOTONIC, "Errorcheck+PShared+Monotonic"}
161 CLOCK_MONOTONIC, "Recursive+Monotonic"}
164 CLOCK_MONOTONIC, "Recursive+PShared+Monotonic"}
/external/libcxx/src/
Dchrono.cpp36 #elif !defined(_LIBCPP_WIN32API) && !defined(CLOCK_MONOTONIC)
194 #elif defined(CLOCK_MONOTONIC)
207 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
/external/libdrm/tests/exynos/
Dexynos_fimg2d_perf.c85 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_simple()
96 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_simple()
179 clock_gettime(CLOCK_MONOTONIC, &tspec); in fimg2d_perf_multi()
189 clock_gettime(CLOCK_MONOTONIC, &end); in fimg2d_perf_multi()
/external/libxkbcommon/xkbcommon/bench/
Drulescomp.c44 clock_gettime(CLOCK_MONOTONIC, &start); in main()
50 clock_gettime(CLOCK_MONOTONIC, &stop); in main()
Drules.c49 clock_gettime(CLOCK_MONOTONIC, &start); in main()
57 clock_gettime(CLOCK_MONOTONIC, &stop); in main()
Dcompose.c50 clock_gettime(CLOCK_MONOTONIC, &start); in main()
59 clock_gettime(CLOCK_MONOTONIC, &stop); in main()
/external/linux-kselftest/tools/testing/selftests/timers/
Dadjtick.c75 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw()
82 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw()
84 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
/external/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep02.c38 tst_timer_start(CLOCK_MONOTONIC); in do_child()
87 tst_timer_check(CLOCK_MONOTONIC); in setup()
/external/libhevc/encoder/
Dosal_thread.c302 if(0 == clock_nanosleep(CLOCK_MONOTONIC, 0, &timer, NULL)) in osal_thread_sleep()
569 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time()
610 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time_usec()

1234567891011