Home
last modified time | relevance | path

Searched refs:CLOCK_THREAD_CPUTIME_ID (Results 1 – 25 of 58) sorted by relevance

123

/external/strace/xlat/
Dclocknames.h27 #if defined(CLOCK_THREAD_CPUTIME_ID) || (defined(HAVE_DECL_CLOCK_THREAD_CPUTIME_ID) && HAVE_DECL_CL…
29 static_assert((CLOCK_THREAD_CPUTIME_ID) == (3), "CLOCK_THREAD_CPUTIME_ID != 3");
32 # define CLOCK_THREAD_CPUTIME_ID 3
99 [CLOCK_THREAD_CPUTIME_ID] = XLAT(CLOCK_THREAD_CPUTIME_ID),
Dclocknames.in5 CLOCK_THREAD_CPUTIME_ID 3
/external/adhd/cras/src/dsp/tests/
Deq_test.c52 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in test_ir()
54 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in test_ir()
96 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in test_file()
98 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in test_file()
111 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in test_file()
113 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in test_file()
Dcrossover_test.c63 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in main()
65 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in main()
70 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in main()
72 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in main()
Ddcblock_test.c50 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in test_file()
53 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in test_file()
Dcrossover2_test.c65 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in main()
68 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in main()
Deq2_test.c68 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in test_file()
70 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in test_file()
Ddrc_test.c35 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp1); in process()
43 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp2); in process()
/external/strace/tests-m32/
Dclock_xettime.c67 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
75 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
83 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
/external/strace/tests/
Dclock_xettime.c67 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
75 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
83 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
/external/strace/tests-mx32/
Dclock_xettime.c67 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
75 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
83 rc = syscall(__NR_clock_settime, CLOCK_THREAD_CPUTIME_ID, &t.ts); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
D11-1.c71 if (timer_create(CLOCK_THREAD_CPUTIME_ID, &ev, &tid) != 0) { in main()
76 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_start) != 0) { in main()
92 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts_end) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D3-4-buildonly.c15 #ifndef CLOCK_THREAD_CPUTIME_ID
16 #error CLOCK_THREAD_CPUTIME_ID not defined
/external/linux-kselftest/tools/testing/selftests/timers/
Dnanosleep.c37 #define CLOCK_THREAD_CPUTIME_ID 3 macro
59 case CLOCK_THREAD_CPUTIME_ID: in clockstring()
140 clockid == CLOCK_THREAD_CPUTIME_ID || in main()
Dnsleep-lat.c37 #define CLOCK_THREAD_CPUTIME_ID 3 macro
59 case CLOCK_THREAD_CPUTIME_ID: in clockstring()
153 clockid == CLOCK_THREAD_CPUTIME_ID || in main()
Dset-timer-lat.c36 #define CLOCK_THREAD_CPUTIME_ID 3 macro
67 case CLOCK_THREAD_CPUTIME_ID: in clockstring()
268 (clock_id == CLOCK_THREAD_CPUTIME_ID) || in main()
Dalarmtimer-suspend.c36 #define CLOCK_THREAD_CPUTIME_ID 3 macro
66 case CLOCK_THREAD_CPUTIME_ID: in clockstring()
Dposix_timers.c148 if (which == CLOCK_THREAD_CPUTIME_ID) { in check_timer_create()
205 if (check_timer_create(CLOCK_THREAD_CPUTIME_ID) < 0) in main()
Dinconsistency-check.c39 #define CLOCK_THREAD_CPUTIME_ID 3 macro
59 case CLOCK_THREAD_CPUTIME_ID: in clockstring()
/external/ltp/include/lapi/
Dcommon_timers.h22 CLOCK_THREAD_CPUTIME_ID,
43 CLOCK_TO_STR(CLOCK_THREAD_CPUTIME_ID); in get_clock_str()
/external/libcxx/utils/google-benchmark/src/
Dtimers.cc96 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
172 #elif defined(CLOCK_THREAD_CPUTIME_ID) in ThreadCPUUsage()
174 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dtimers.cc96 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
172 #elif defined(CLOCK_THREAD_CPUTIME_ID) in ThreadCPUUsage()
174 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()
/external/llvm-project/llvm/utils/benchmark/src/
Dtimers.cc96 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
172 #elif defined(CLOCK_THREAD_CPUTIME_ID) in ThreadCPUUsage()
174 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()
/external/google-benchmark/src/
Dtimers.cc97 #if defined(CLOCK_PROCESS_CPUTIME_ID) || defined(CLOCK_THREAD_CPUTIME_ID)
173 #elif defined(CLOCK_THREAD_CPUTIME_ID) in ThreadCPUUsage()
175 if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) == 0) return MakeTime(ts); in ThreadCPUUsage()
/external/ltp/testcases/realtime/func/thread_clock/
Dtc-2.c100 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) { in workerthread()
123 if ((clock_gettime(CLOCK_THREAD_CPUTIME_ID, ts)) < 0) { in sleeperthread()

123