Home
last modified time | relevance | path

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

123456789

/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/adhd/cras/src/dsp/tests/
Ddsp_util_test.c295 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
301 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
308 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
313 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
331 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
337 clock_gettime(CLOCK_MONOTONIC, &end); /* mark the end time */ in main()
345 clock_gettime(CLOCK_MONOTONIC, &start); /* mark start time */ in main()
350 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/kernel-headers/original/uapi/linux/
Dtime.h49 #define CLOCK_MONOTONIC 1 macro
66 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
67 #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/strace/xlat/
Dclocknames.h5 #if !(defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC))
6 # define CLOCK_MONOTONIC 1 macro
43 XLAT(CLOCK_MONOTONIC),
/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/stress/threads/pthread_cond_timedwait/
Ds-c.c148 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/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D6-3-buildonly.c15 #ifndef CLOCK_MONOTONIC
16 #error CLOCK_MONOTONIC not defined
/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/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/kernel/syscalls/futex/
Dfutex_wait_bitset01.c40 tst_timer_check(CLOCK_MONOTONIC); in main()
45 verify_futex_wait_bitset(DEFAULT_TIMEOUT_US, CLOCK_MONOTONIC); in main()
/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/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/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
D1-2.c36 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/
Dmmap_bench.c22 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_mmap()
31 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_mmap()
Dfutex_bench.c25 clock_gettime(CLOCK_MONOTONIC, &ts_start); in test_futex()
32 clock_gettime(CLOCK_MONOTONIC, &ts_end); in test_futex()
/external/libcxx/src/
Dchrono.cpp53 #elif !defined(_LIBCPP_WIN32API) && !defined(CLOCK_MONOTONIC)
211 #elif defined(CLOCK_MONOTONIC)
224 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) in now()
/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/timers/include/
Dcommon_timers.h19 CLOCK_MONOTONIC,
45 CLOCK_TO_STR(CLOCK_MONOTONIC); in get_clock_str()
/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/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()

123456789