/external/linux-kselftest/tools/testing/selftests/timers/ |
D | nsleep-lat.c | 50 char *clockstring(int clockid) in clockstring() argument 52 switch (clockid) { in clockstring() 98 int nanosleep_lat_test(int clockid, long long ns) in nanosleep_lat_test() argument 107 if (clock_gettime(clockid, &start)) in nanosleep_lat_test() 109 if (clock_nanosleep(clockid, 0, &target, NULL)) in nanosleep_lat_test() 115 clock_gettime(clockid, &start); in nanosleep_lat_test() 117 clock_nanosleep(clockid, 0, &target, NULL); in nanosleep_lat_test() 118 clock_gettime(clockid, &end); in nanosleep_lat_test() 127 clock_gettime(clockid, &start); in nanosleep_lat_test() 129 clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL); in nanosleep_lat_test() [all …]
|
D | nanosleep.c | 50 char *clockstring(int clockid) in clockstring() argument 52 switch (clockid) { in clockstring() 101 int nanosleep_test(int clockid, long long ns) in nanosleep_test() argument 106 if (clock_gettime(clockid, &now)) in nanosleep_test() 110 if (clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL)) in nanosleep_test() 112 clock_gettime(clockid, &now); in nanosleep_test() 118 clock_gettime(clockid, &now); in nanosleep_test() 123 clock_nanosleep(clockid, 0, &rel, NULL); in nanosleep_test() 124 clock_gettime(clockid, &now); in nanosleep_test() 134 int clockid, ret; in main() local [all …]
|
D | inconsistency-check.c | 50 char *clockstring(int clockid) in clockstring() argument 52 switch (clockid) { in clockstring() 155 int clockid, opt; in main() local 181 for (clockid = userclock; clockid < maxclocks; clockid++) { in main() 183 if (clockid == CLOCK_HWSPECIFIC) in main() 186 if (!clock_gettime(clockid, &ts)) { in main() 187 printf("Consistent %-30s ", clockstring(clockid)); in main() 188 if (consistency_test(clockid, runtime)) in main()
|
D | alarmtimer-suspend.c | 57 char *clockstring(int clockid) in clockstring() argument 59 switch (clockid) { in clockstring()
|
D | set-timer-lat.c | 58 char *clockstring(int clockid) in clockstring() argument 60 switch (clockid) { in clockstring()
|
/external/strace/ |
D | time.c | 195 printclockname(int clockid) in printclockname() argument 200 if (clockid < 0) { in printclockname() 202 tprintf("%d", clockid); in printclockname() 210 if ((clockid & CLOCKFD_MASK) == CLOCKFD) in printclockname() 211 tprintf("FD_TO_CLOCKID(%d)", CLOCKID_TO_FD(clockid)); in printclockname() 214 CPUCLOCK_PERTHREAD(clockid) ? in printclockname() 217 CPUCLOCK_PID(clockid)); in printclockname() 219 (unsigned int) clockid & CLOCKFD_MASK, in printclockname() 228 printxval_index(clocknames, clockid, "CLOCK_???"); in printclockname()
|
D | perf.c | 381 _PERF_CHECK_FIELD(clockid); in print_perf_event_attr() 382 PRINT_FIELD_XVAL(", ", *attr, clockid, clocknames, "CLOCK_???"); in print_perf_event_attr()
|
D | perf_event_struct.h | 64 int32_t clockid; member
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
D | 1-2.c | 30 clockid_t clockid; in main() 38 error = clock_getcpuclockid(1, &clockid); in main() 48 if (clock_gettime(clockid, &tp1) != 0) { in main() 50 "%d\n", clockid); in main()
|
D | 1-1.c | 39 clockid_t clockid; in main() 48 if (clock_getcpuclockid(getpid(), &clockid) != 0) { in main() 57 if (clock_gettime(clockid, &tp1) != 0) { in main() 60 clockid); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/ |
D | 1-3.c | 38 clockid_t clockid; in main() local 56 if (clock_getcpuclockid(getpid(), &clockid) != 0) { in main() 61 rc = pthread_condattr_setclock(&condattr, clockid); in main()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/timer/hrtimer_init/ |
D | format | 10 field:clockid_t clockid; offset:16; size:4; signed:1; 13 print fmt: "hrtimer=%p clockid=%s mode=%s", REC->hrtimer, REC->clockid == 0 ? "CLOCK_REALTIME" : "C…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/timer/hrtimer_init/ |
D | format | 10 field:clockid_t clockid; offset:16; size:4; signed:1; 13 print fmt: "hrtimer=%p clockid=%s mode=%s", REC->hrtimer, REC->clockid == 0 ? "CLOCK_REALTIME" : "C…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/timer/hrtimer_init/ |
D | format | 10 field:clockid_t clockid; offset:12; size:4; signed:1; 13 print fmt: "hrtimer=%p clockid=%s mode=%s", REC->hrtimer, REC->clockid == 0 ? "CLOCK_REALTIME" : "C…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/timer/hrtimer_init/ |
D | format | 11 field:clockid_t clockid; offset:16; size:4; signed:1; 14 print fmt: "hrtimer=%p clockid=%s mode=%s", REC->hrtimer, REC->clockid == 0 ? "CLOCK_REALTIME" : "C…
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_getclock/ |
D | 1-1.c | 26 clockid_t clockid; in main() local 37 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
|
D | 1-2.c | 27 clockid_t clockid; in main() local 44 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
|
/external/ltp/testcases/kernel/syscalls/timerfd/ |
D | timerfd01.c | 69 unsigned long long getustime(int clockid) in getustime() argument 73 if (clock_gettime((clockid_t) clockid, &tp)) { in getustime() 88 int timerfd_create(int clockid, int flags) in timerfd_create() argument 91 return ltp_syscall(__NR_timerfd_create, clockid, flags); in timerfd_create()
|
D | timerfd_create01.c | 35 int clockid; member 79 TEST(timerfd_create(test->clockid, test->flags)); in timerfd_create_verify()
|
/external/ltp/include/lapi/ |
D | timerfd.h | 30 int timerfd_create(int clockid, int flags) in timerfd_create() argument 32 return ltp_syscall(__NR_timerfd_create, clockid, flags); in timerfd_create()
|
/external/kernel-headers/original/uapi/linux/ |
D | net_tstamp.h | 158 __kernel_clockid_t clockid;/* reference clockid */ member
|
/external/strace/tests/ |
D | perf_event_open.c | 150 const char *clockid, uint32_t available_size) in print_event_attr() argument 451 printf(", clockid=%s", clockid); in print_event_attr() 782 attr->clockid = in main()
|
/external/strace/tests-mx32/ |
D | perf_event_open.c | 150 const char *clockid, uint32_t available_size) in print_event_attr() argument 451 printf(", clockid=%s", clockid); in print_event_attr() 782 attr->clockid = in main()
|
/external/strace/tests-m32/ |
D | perf_event_open.c | 150 const char *clockid, uint32_t available_size) in print_event_attr() argument 451 printf(", clockid=%s", clockid); in print_event_attr() 782 attr->clockid = in main()
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/oboe/src/aaudio/ |
D | AAudioLoader.h | 112 clockid_t clockid,
|