HomeSort by relevance Sort by last modified time
    Searched refs:CLOCK_MONOTONIC (Results 1 - 25 of 396) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
6-3-buildonly.c 10 Test that CLOCK_MONOTONIC is defined
15 #ifndef CLOCK_MONOTONIC
16 #error CLOCK_MONOTONIC not defined
  /external/libmicrohttpd/src/microspdy/
internal.c 33 #ifdef CLOCK_MONOTONIC
35 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts))
  /external/ltp/testcases/kernel/syscalls/futex/
futex_wait_bitset01.c 40 tst_timer_check(CLOCK_MONOTONIC);
45 verify_futex_wait_bitset(DEFAULT_TIMEOUT_US, CLOCK_MONOTONIC);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
6-1.c 8 * Test that clock_settime() cannot set the monotonic clock CLOCK_MONOTONIC,
9 * and will fail if invoked with clock CLOCK_MONOTONIC.
21 #ifdef CLOCK_MONOTONIC
26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) {
30 printf("clock_settime() did not fail with CLOCK_MONOTONIC\n");
36 printf("CLOCK_MONOTONIC not supported\n");
20-1.c 9 * CLOCK_MONOTONIC.
23 #ifdef CLOCK_MONOTONIC
32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) {
41 printf("clock_settime() did not fail with CLOCK_MONOTONIC\n");
47 printf("CLOCK_MONOTONIC not supported\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
3-1.c 8 Test that parameter CLOCK_MONOTONIC returns seconds since the
21 #ifdef CLOCK_MONOTONIC
27 printf("CLOCK_MONOTONIC unsupported\n");
31 if (clock_gettime(CLOCK_MONOTONIC, &ts1) != 0) {
36 if (clock_gettime(CLOCK_MONOTONIC, &ts2) != 0) {
43 if (clock_gettime(CLOCK_MONOTONIC, &ts3) != 0) {
49 if (clock_gettime(CLOCK_MONOTONIC, &ts4) != 0) {
64 printf("CLOCK_MONOTONIC unsupported\n");
  /bionic/libc/kernel/uapi/linux/
time.h 49 #define CLOCK_MONOTONIC 1
61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
62 #define CLOCKS_MONO CLOCK_MONOTONIC
  /external/kernel-headers/original/uapi/linux/
time.h 49 #define CLOCK_MONOTONIC 1
66 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
67 #define CLOCKS_MONO CLOCK_MONOTONIC
  /hardware/ril/librilutils/
librilutils.c 22 clock_gettime(CLOCK_MONOTONIC, &now);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/
3-1.c 9 * Test that clock_getres() supports a clock_id of CLOCK_MONOTONIC if
20 #ifdef CLOCK_MONOTONIC
28 if (clock_getres(CLOCK_MONOTONIC, &res) == 0) {
46 printf("CLOCK_MONOTONIC unsupported\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
1-2.c 14 * 2. Set the clock to CLOCK_MONOTONIC (if the kernel has that capability)
17 * *FIX-ME: Need to find a better check on whether the kernel supports CLOCK_MONOTONIC
35 /* Check whether kernel supports CLOCK_MONOTONIC */
36 rc = clock_getres(CLOCK_MONOTONIC, &ts);
38 printf("UNSUPPORTED: CLOCK_MONOTONIC is unsupported\n");
50 rc = pthread_condattr_setclock(&condattr, CLOCK_MONOTONIC);
52 printf("Test FAILED: Could not set clock to CLOCK_MONOTONIC\n");
  /system/core/liblog/tests/
log_time_test.cpp 25 log_time(CLOCK_MONOTONIC);
31 clock_gettime(CLOCK_MONOTONIC, &ts);
  /external/compiler-rt/test/tsan/
cond_version.c 26 pthread_condattr_setclock(&at, CLOCK_MONOTONIC);
29 clock_gettime(CLOCK_MONOTONIC, &ts0);
39 clock_gettime(CLOCK_MONOTONIC, &ts2);
  /external/strace/xlat/
clocknames.h 5 #if !(defined(CLOCK_MONOTONIC) || (defined(HAVE_DECL_CLOCK_MONOTONIC) && HAVE_DECL_CLOCK_MONOTONIC))
6 # define CLOCK_MONOTONIC 1
43 XLAT(CLOCK_MONOTONIC),
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
time.h 56 #define CLOCK_MONOTONIC 1
71 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
72 #define CLOCKS_MONO CLOCK_MONOTONIC
  /external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
mmap_bench.c 22 clock_gettime(CLOCK_MONOTONIC, &ts_start);
31 clock_gettime(CLOCK_MONOTONIC, &ts_end);
  /external/ltp/testcases/kernel/timers/include/
common_timers.h 19 CLOCK_MONOTONIC,
45 CLOCK_TO_STR(CLOCK_MONOTONIC);
  /system/media/audio_utils/include/audio_utils/
clock_nanosleep.h 41 // macOS <10.12 doesn't have clockid_t / CLOCK_MONOTONIC
42 #ifndef CLOCK_MONOTONIC
44 #define CLOCK_MONOTONIC 0
  /device/google/marlin/camera/QCamera2/stack/common/
cam_cond.h 26 rc = pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); \
  /external/strace/tests/
clock_adjtime.c 42 long rc = syscall(__NR_clock_adjtime, CLOCK_MONOTONIC, NULL);
43 printf("clock_adjtime(CLOCK_MONOTONIC, NULL) = %ld %s (%m)\n",
  /external/strace/tests-m32/
clock_adjtime.c 42 long rc = syscall(__NR_clock_adjtime, CLOCK_MONOTONIC, NULL);
43 printf("clock_adjtime(CLOCK_MONOTONIC, NULL) = %ld %s (%m)\n",
  /external/strace/tests-mx32/
clock_adjtime.c 42 long rc = syscall(__NR_clock_adjtime, CLOCK_MONOTONIC, NULL);
43 printf("clock_adjtime(CLOCK_MONOTONIC, NULL) = %ld %s (%m)\n",
  /hardware/qcom/camera/msm8998/QCamera2/stack/common/
cam_cond.h 26 rc = pthread_condattr_setclock(&cond_attr, CLOCK_MONOTONIC); \
  /system/chre/platform/linux/
system_time.cc 30 if (clock_gettime(CLOCK_MONOTONIC, &timeNow)) {
  /external/libxkbcommon/xkbcommon/bench/
rules.c 49 clock_gettime(CLOCK_MONOTONIC, &start);
57 clock_gettime(CLOCK_MONOTONIC, &stop);

Completed in 335 milliseconds

1 2 3 4 5 6 7 8 91011>>