/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 3-4-buildonly.c | 10 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 D | common_timers.h | 21 CLOCK_THREAD_CPUTIME_ID, 47 CLOCK_TO_STR(CLOCK_THREAD_CPUTIME_ID);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
H A D | 11-1.c | 8 * 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 D | clocknames.h | 11 #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 D | time.h | 50 #define CLOCK_THREAD_CPUTIME_ID 3 macro
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/ |
H A D | 8-1.c | 9 * 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 D | nanosleep.c | 48 #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 D | nsleep-lat.c | 48 #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 D | set-timer-lat.c | 46 #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 D | alarmtimer-suspend.c | 47 #define CLOCK_THREAD_CPUTIME_ID 3 macro 77 case CLOCK_THREAD_CPUTIME_ID: 78 return "CLOCK_THREAD_CPUTIME_ID";
|
H A D | inconsistency-check.c | 50 #define CLOCK_THREAD_CPUTIME_ID 3 macro 70 case CLOCK_THREAD_CPUTIME_ID: 71 return "CLOCK_THREAD_CPUTIME_ID";
|
H A D | posix_timers.c | 149 if (which == CLOCK_THREAD_CPUTIME_ID) { 206 if (check_timer_create(CLOCK_THREAD_CPUTIME_ID) < 0)
|
/external/ltp/lib/ |
H A D | tst_timer.c | 50 case CLOCK_THREAD_CPUTIME_ID: 51 return "CLOCK_THREAD_CPUTIME_ID";
|
/external/strace/tests/ |
H A D | clock_xettime.c | 64 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 D | clock_xettime.c | 64 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 D | clock_xettime.c | 64 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 D | timers.cc | 89 #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 D | timers.cc | 89 #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 D | tc-2.c | 100 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 D | clock_gettime03.c | 101 CLOCK_THREAD_CPUTIME_ID
|
/external/ltp/testcases/kernel/timers/timer_create/ |
H A D | timer_create04.c | 111 CLOCK_THREAD_CPUTIME_ID
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 11-1.c | 34 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
|
/external/ltp/testcases/kernel/syscalls/clock_getres/ |
H A D | clock_getres01.c | 58 {"THREAD_CPUTIME_ID", CLOCK_THREAD_CPUTIME_ID, NORMAL, 0, 0},
|
/external/ltp/testcases/kernel/timers/clock_settime/ |
H A D | clock_settime03.c | 40 CLOCK_THREAD_CPUTIME_ID
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
H A D | syscall_parameters_restrictions_unittests.cc | 87 CheckClock(CLOCK_THREAD_CPUTIME_ID);
|