/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
D | 3-1.c | 21 #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/ltp/testcases/kernel/syscalls/pselect/ |
D | pselect01.c | 79 clock_gettime(CLOCK_MONOTONIC, &tv_start); in pselect_verify() 81 clock_gettime(CLOCK_MONOTONIC, &tv_end); in pselect_verify() 107 clock_gettime(CLOCK_MONOTONIC, &tv_start); in pselect_verify() 109 clock_gettime(CLOCK_MONOTONIC, &tv_end); in pselect_verify() 150 tst_timer_check(CLOCK_MONOTONIC); in setup()
|
/external/kernel-headers/original/uapi/linux/ |
D | time.h | 48 #define CLOCK_MONOTONIC 1 macro 61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) 62 #define CLOCKS_MONO CLOCK_MONOTONIC
|
/external/compiler-rt/test/tsan/ |
D | cond_version.c | 26 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/strace/xlat/ |
D | clocknames.h | 5 #if !(defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC)) 6 # define CLOCK_MONOTONIC 1 macro 48 XLAT(CLOCK_MONOTONIC),
|
/external/rmi4utils/rmi4update/ |
D | rmi4update.cpp | 136 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/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
D | 6-3-buildonly.c | 15 #ifndef CLOCK_MONOTONIC 16 #error CLOCK_MONOTONIC not defined
|
/external/lz4/examples/ |
D | compress_functions.c | 137 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/libmicrohttpd/src/microspdy/ |
D | internal.c | 33 #ifdef CLOCK_MONOTONIC in SPDYF_monotonic_time() 35 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts)) in SPDYF_monotonic_time()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
D | 6-1.c | 21 #ifdef CLOCK_MONOTONIC in main() 26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
|
D | 20-1.c | 23 #ifdef CLOCK_MONOTONIC in main() 32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wait_bitset01.c | 40 tst_timer_check(CLOCK_MONOTONIC); in main() 45 verify_futex_wait_bitset(DEFAULT_TIMEOUT_US, CLOCK_MONOTONIC); in main()
|
D | futex_wait05.c | 78 tst_timer_check(CLOCK_MONOTONIC); in main() 83 verify_futex_wait(CLOCK_MONOTONIC, 0); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/ |
D | 3-1.c | 20 #ifdef CLOCK_MONOTONIC in main() 28 if (clock_getres(CLOCK_MONOTONIC, &res) == 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/ |
D | 1-2.c | 36 rc = clock_getres(CLOCK_MONOTONIC, &ts); in main() 50 rc = pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | mmap_bench.c | 22 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap() 31 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
|
D | futex_bench.c | 25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex() 32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
|
/external/ltp/testcases/kernel/timers/include/ |
D | common_timers.h | 19 CLOCK_MONOTONIC, 45 CLOCK_TO_STR(CLOCK_MONOTONIC); in get_clock_str()
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
D | nanosleep01.c | 47 tst_timer_start(CLOCK_MONOTONIC); in main() 72 tst_timer_check(CLOCK_MONOTONIC); in setup()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | s-c.c | 148 PTHREAD_MUTEX_DEFAULT, PTHREAD_PROCESS_PRIVATE, CLOCK_MONOTONIC, 151 PTHREAD_MUTEX_DEFAULT, PTHREAD_PROCESS_SHARED, CLOCK_MONOTONIC, 155 PTHREAD_MUTEX_NORMAL, PTHREAD_PROCESS_PRIVATE, CLOCK_MONOTONIC, 158 PTHREAD_MUTEX_NORMAL, PTHREAD_PROCESS_SHARED, CLOCK_MONOTONIC, 162 CLOCK_MONOTONIC, "Errorcheck+Monotonic"} 165 CLOCK_MONOTONIC, "Errorcheck+PShared+Monotonic"} 168 CLOCK_MONOTONIC, "Recursive+Monotonic"} 171 CLOCK_MONOTONIC, "Recursive+PShared+Monotonic"}
|
/external/libdrm/tests/exynos/ |
D | exynos_fimg2d_perf.c | 78 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/linux-kselftest/tools/testing/selftests/timers/ |
D | adjtick.c | 86 clock_gettime(CLOCK_MONOTONIC, mon); in get_monotonic_and_raw() 93 clock_gettime(CLOCK_MONOTONIC, &start); in get_monotonic_and_raw() 95 clock_gettime(CLOCK_MONOTONIC, &end); in get_monotonic_and_raw()
|
/external/libcxx/src/ |
D | chrono.cpp | 53 #elif !defined(_LIBCPP_WIN32API) && !defined(CLOCK_MONOTONIC) 211 #elif defined(CLOCK_MONOTONIC) 224 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
D | 7-1.c | 34 #ifdef CLOCK_MONOTONIC in main() 68 if (timer_create(CLOCK_MONOTONIC, &ev, &tid) != 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/poll/ |
D | poll02.c | 70 tst_timer_start(CLOCK_MONOTONIC); in main() 106 tst_timer_check(CLOCK_MONOTONIC); in setup()
|