Searched refs:clock_id (Results 1 – 5 of 5) sorted by relevance
/tools/testing/selftests/timers/ |
D | set-timer-lat.c | 53 int clock_id; variable 102 clock_gettime(clock_id, &ts); in sigalarm() 118 clockstring(clock_id), in describe_timer() 123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument 139 err = timer_create(clock_id, &se, tm1); in setup_timer() 141 if ((clock_id == CLOCK_REALTIME_ALARM) || in setup_timer() 142 (clock_id == CLOCK_BOOTTIME_ALARM)) { in setup_timer() 144 clockstring(clock_id), in setup_timer() 149 printf("%s - timer_create() failed\n", clockstring(clock_id)); in setup_timer() 153 clock_gettime(clock_id, &start_time); in setup_timer() [all …]
|
/tools/testing/selftests/vDSO/ |
D | vdso_test_clock_getres.c | 68 static inline int vdso_test_clock(unsigned int clock_id) in vdso_test_clock() argument 72 printf("clock_id: %s", vdso_clock_name[clock_id]); in vdso_test_clock() 73 clock_getres(clock_id, &x); in vdso_test_clock() 74 syscall_clock_getres(clock_id, &y); in vdso_test_clock()
|
D | vdso_test_abi.c | 165 static inline void vdso_test_clock(clockid_t clock_id) in vdso_test_clock() argument 167 ksft_print_msg("\nclock_id: %s\n", vdso_clock_name[clock_id]); in vdso_test_clock() 169 vdso_test_clock_gettime(clock_id); in vdso_test_clock() 171 vdso_test_clock_getres(clock_id); in vdso_test_clock()
|
/tools/perf/tests/ |
D | sw-clock.c | 27 static int __test__sw_clock_freq(enum perf_sw_ids clock_id) in __test__sw_clock_freq() argument 39 .config = clock_id, in __test__sw_clock_freq()
|
/tools/tracing/latency/ |
D | latency-collector.c | 407 clockid_t clock_id) in condattr_setclock() argument 409 errno = pthread_condattr_setclock(attr, clock_id); in condattr_setclock()
|