Home
last modified time | relevance | path

Searched refs:clockid (Results 1 – 25 of 44) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/timers/
Dnsleep-lat.c50 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 …]
Dnanosleep.c50 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 …]
Dinconsistency-check.c50 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()
Dalarmtimer-suspend.c57 char *clockstring(int clockid) in clockstring() argument
59 switch (clockid) { in clockstring()
Dset-timer-lat.c58 char *clockstring(int clockid) in clockstring() argument
60 switch (clockid) { in clockstring()
/external/strace/
Dtime.c195 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()
Dperf.c381 _PERF_CHECK_FIELD(clockid); in print_perf_event_attr()
382 PRINT_FIELD_XVAL(", ", *attr, clockid, clocknames, "CLOCK_???"); in print_perf_event_attr()
Dperf_event_struct.h64 int32_t clockid; member
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/
D1-2.c30 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()
D1-1.c39 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/
D1-3.c38 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/
Dformat10 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/
Dformat10 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/
Dformat10 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/
Dformat11 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/
D1-1.c26 clockid_t clockid; in main() local
37 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
D1-2.c27 clockid_t clockid; in main() local
44 rc = pthread_condattr_getclock(&condattr, &clockid); in main()
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c69 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()
Dtimerfd_create01.c35 int clockid; member
79 TEST(timerfd_create(test->clockid, test->flags)); in timerfd_create_verify()
/external/ltp/include/lapi/
Dtimerfd.h30 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/
Dnet_tstamp.h158 __kernel_clockid_t clockid;/* reference clockid */ member
/external/strace/tests/
Dperf_event_open.c150 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/
Dperf_event_open.c150 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/
Dperf_event_open.c150 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/
DAAudioLoader.h112 clockid_t clockid,

12