Searched refs:CLOCK_THREAD_CPUTIME_ID (Results 1 - 25 of 31) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
H A D3-4-buildonly.c10 Test that CLOCK_THREAD_CPUTIME_ID is defined
15 #ifndef CLOCK_THREAD_CPUTIME_ID
16 #error CLOCK_THREAD_CPUTIME_ID not defined
/external/ltp/testcases/kernel/timers/include/
H A Dcommon_timers.h21 CLOCK_THREAD_CPUTIME_ID,
47 CLOCK_TO_STR(CLOCK_THREAD_CPUTIME_ID);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
H A D11-1.c8 * Test that CLOCK_THREAD_CPUTIME_ID is supported by timer_create().
71 if (timer_create(CLOCK_THREAD_CPUTIME_ID, &ev, &tid) != 0) {
76 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_start) != 0) {
92 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_end) != 0) {
/external/strace/xlat/
H A Dclocknames.h11 #if !(defined(CLOCK_THREAD_CPUTIME_ID) || (defined(HAVE_DECL_CLOCK_THREAD_CPUTIME_ID) && HAVE_DECL_CLOCK_THREAD_CPUTIME_ID))
12 # define CLOCK_THREAD_CPUTIME_ID 3 macro
50 XLAT(CLOCK_THREAD_CPUTIME_ID),
/external/kernel-headers/original/uapi/linux/
H A Dtime.h50 #define CLOCK_THREAD_CPUTIME_ID 3 macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/
H A D8-1.c9 * The clock chosen for this test is CLOCK_THREAD_CPUTIME_ID.
34 if (clock_getres(CLOCK_THREAD_CPUTIME_ID, &res) == 0) {
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dnanosleep.c48 #define CLOCK_THREAD_CPUTIME_ID 3 macro
70 case CLOCK_THREAD_CPUTIME_ID:
71 return "CLOCK_THREAD_CPUTIME_ID";
151 clockid == CLOCK_THREAD_CPUTIME_ID ||
H A Dnsleep-lat.c48 #define CLOCK_THREAD_CPUTIME_ID 3 macro
70 case CLOCK_THREAD_CPUTIME_ID:
71 return "CLOCK_THREAD_CPUTIME_ID";
164 clockid == CLOCK_THREAD_CPUTIME_ID ||
H A Dset-timer-lat.c46 #define CLOCK_THREAD_CPUTIME_ID 3 macro
76 case CLOCK_THREAD_CPUTIME_ID:
77 return "CLOCK_THREAD_CPUTIME_ID";
203 (clock_id == CLOCK_THREAD_CPUTIME_ID) ||
H A Dalarmtimer-suspend.c47 #define CLOCK_THREAD_CPUTIME_ID 3 macro
77 case CLOCK_THREAD_CPUTIME_ID:
78 return "CLOCK_THREAD_CPUTIME_ID";
H A Dinconsistency-check.c50 #define CLOCK_THREAD_CPUTIME_ID 3 macro
70 case CLOCK_THREAD_CPUTIME_ID:
71 return "CLOCK_THREAD_CPUTIME_ID";
H A Dposix_timers.c149 if (which == CLOCK_THREAD_CPUTIME_ID) {
206 if (check_timer_create(CLOCK_THREAD_CPUTIME_ID) < 0)
/external/ltp/lib/
H A Dtst_timer.c50 case CLOCK_THREAD_CPUTIME_ID:
51 return "CLOCK_THREAD_CPUTIME_ID";
/external/strace/tests/
H A Dclock_xettime.c64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
65 error_msg_and_skip("clock_settime CLOCK_THREAD_CPUTIME_ID:"
67 printf("clock_settime(CLOCK_THREAD_CPUTIME_ID, {tv_sec=%jd, "
/external/strace/tests-m32/
H A Dclock_xettime.c64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
65 error_msg_and_skip("clock_settime CLOCK_THREAD_CPUTIME_ID:"
67 printf("clock_settime(CLOCK_THREAD_CPUTIME_ID, {tv_sec=%jd, "
/external/strace/tests-mx32/
H A Dclock_xettime.c64 if (!syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts))
65 error_msg_and_skip("clock_settime CLOCK_THREAD_CPUTIME_ID:"
67 printf("clock_settime(CLOCK_THREAD_CPUTIME_ID, {tv_sec=%jd, "
/external/google-benchmark/src/
H A Dtimers.cc89 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
130 #if defined(CLOCK_THREAD_CPUTIME_ID) && !defined(BENCHMARK_OS_MACOSX)
132 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts);
133 DiagnoseAndExit("clock_gettime(CLOCK_THREAD_CPUTIME_ID, ...) failed");
/external/libcxx/utils/google-benchmark/src/
H A Dtimers.cc89 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
130 #if defined(CLOCK_THREAD_CPUTIME_ID) && !defined(BENCHMARK_OS_MACOSX)
132 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts);
133 DiagnoseAndExit("clock_gettime(CLOCK_THREAD_CPUTIME_ID, ...) failed");
/external/ltp/testcases/realtime/func/thread_clock/
H A Dtc-2.c100 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) {
101 perror("clock_gettime: CLOCK_THREAD_CPUTIME_ID: ");
123 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) {
124 perror("clock_gettime: CLOCK_THREAD_CPUTIME_ID: ");
/external/ltp/testcases/kernel/timers/clock_gettime/
H A Dclock_gettime03.c101 CLOCK_THREAD_CPUTIME_ID
/external/ltp/testcases/kernel/timers/timer_create/
H A Dtimer_create04.c111 CLOCK_THREAD_CPUTIME_ID
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D11-1.c34 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
/external/ltp/testcases/kernel/syscalls/clock_getres/
H A Dclock_getres01.c58 {"THREAD_CPUTIME_ID", CLOCK_THREAD_CPUTIME_ID, NORMAL, 0, 0},
/external/ltp/testcases/kernel/timers/clock_settime/
H A Dclock_settime03.c40 CLOCK_THREAD_CPUTIME_ID
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
H A Dsyscall_parameters_restrictions_unittests.cc87 CheckClock(CLOCK_THREAD_CPUTIME_ID);

Completed in 552 milliseconds

12