HomeSort by relevance Sort by last modified time
    Searched refs:clock_gettime (Results 26 - 50 of 591) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/linux-kselftest/android/include/sys/
timeb.h 17 int err = clock_gettime(CLOCK_REALTIME, &ts);
  /external/ltp/android/include/sys/
timeb.h 17 int err = clock_gettime(CLOCK_REALTIME, &ts);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/
1-1.c 8 General test that clock_gettime() returns a non-empty tp for a given
22 if (clock_gettime(CLOCK_REALTIME, &tp) == 0) {
27 printf("clock_gettime() success, but tp not filled\n");
32 printf("clock_gettime() failed\n");
4-1.c 44 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts1) != 0) {
45 printf("clock_gettime() failed: errno %d\n", errno);
51 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts2) != 0) {
52 printf("clock_gettime() failed: errno %d\n", errno);
58 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts3) != 0) {
59 printf("clock_gettime() failed: errno %d\n", errno);
65 if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts4) != 0) {
66 printf("clock_gettime() failed: errno %d\n", errno);
8-1.c 8 Test that clock_gettime() sets errno to EINVAL if clock_id does not
21 if (clock_gettime(INVALIDCLOCK, &tp) == -1) {
32 printf("clock_gettime() did not return failure\n");
8-2.c 8 * Error condition API test of the clock_gettime() function.
9 * Test calling clock_gettime() with the following values:
40 if (clock_gettime(invalid_tests[i], &tp) == 0) {
41 printf("failure: clock_gettime() using %d succeeded\n",
  /hardware/libhardware/modules/camera/3_4/metadata/
boottime_state_delegate.cpp 27 int res = clock_gettime(CLOCK_BOOTTIME, &ts);
  /system/chre/platform/linux/
system_time.cc 30 if (clock_gettime(CLOCK_MONOTONIC, &timeNow)) {
  /external/compiler-rt/test/tsan/
cond_version.c 29 clock_gettime(CLOCK_MONOTONIC, &ts0);
39 clock_gettime(CLOCK_MONOTONIC, &ts2);
  /external/libxkbcommon/xkbcommon/bench/
rules.c 49 clock_gettime(CLOCK_MONOTONIC, &start);
57 clock_gettime(CLOCK_MONOTONIC, &stop);
rulescomp.c 44 clock_gettime(CLOCK_MONOTONIC, &start);
50 clock_gettime(CLOCK_MONOTONIC, &stop);
  /external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
futex_bench.c 25 clock_gettime(CLOCK_MONOTONIC, &ts_start);
32 clock_gettime(CLOCK_MONOTONIC, &ts_end);
  /external/ltp/testcases/kernel/syscalls/futex/
futex_wait_bitset.h 32 clock_gettime(clk_id, &start);
37 clock_gettime(clk_id, &end);
  /external/ltp/testcases/kernel/syscalls/utils/
mq_timed.h 38 clock_gettime(CLOCK_REALTIME, ts);
46 clock_gettime(CLOCK_REALTIME, ts);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
1-4.c 25 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) {
26 perror("clock_gettime() did not return success\n");
50 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) {
51 perror("clock_gettime() did not return success\n");
2-3.c 27 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) {
28 perror("clock_gettime() did not return success\n");
58 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) {
59 perror("clock_gettime() did not return success\n");
3-1.c 30 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) {
31 perror("clock_gettime() did not return success\n");
45 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
46 perror("Error in clock_gettime()\n");
60 printf("FAIL: error in clock_gettime()\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
1-2.c 24 if (clock_gettime(CLOCK_REALTIME, &tsbefore) == -1) {
25 perror("Error in clock_gettime()\n");
49 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
50 perror("Error in clock_gettime()\n");
2-1.c 28 if (clock_gettime(CLOCK_REALTIME, &tsbefore) == -1) {
29 perror("Error in clock_gettime()\n");
41 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
42 perror("Error in clock_gettime()\n");
  /system/update_engine/common/
clock.cc 29 if (clock_gettime(CLOCK_MONOTONIC_RAW, &now_ts) != 0) {
45 if (clock_gettime(CLOCK_BOOTTIME, &now_ts) != 0) {
  /build/kati/
timeutil.cc 27 clock_gettime(CLOCK_REALTIME, &ts);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
1-2.c 49 if (clock_gettime(clockid, &tp1) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
22-1.c 85 ret = clock_gettime(clp, &tp);
104 ret = clock_gettime(clt, &tp);
131 ret = clock_gettime(clp, &tp);
152 ret = clock_gettime(clt, &tp);
  /system/bt/osi/src/
time.cc 32 clock_gettime(CLOCK_BOOTTIME, &ts_now);
  /system/core/base/
chrono_utils.cpp 27 clock_gettime(CLOCK_BOOTTIME, &ts);
31 // Darwin and Windows do not support clock_gettime.

Completed in 243 milliseconds

12 3 4 5 6 7 8 91011>>