Home
last modified time | relevance | path

Searched refs:clock_id (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/timers/
Dset-timer-lat.c63 int clock_id; variable
111 clock_gettime(clock_id, &ts); in sigalarm()
118 printf("%s timer fired early: FAIL\n", clockstring(clock_id)); in sigalarm()
124 int do_timer(int clock_id, int flags) in do_timer() argument
140 err = timer_create(clock_id, &se, &tm1); in do_timer()
142 if ((clock_id == CLOCK_REALTIME_ALARM) || in do_timer()
143 (clock_id == CLOCK_BOOTTIME_ALARM)) { in do_timer()
145 clockstring(clock_id), in do_timer()
149 printf("%s - timer_create() failed\n", clockstring(clock_id)); in do_timer()
153 clock_gettime(clock_id, &start_time); in do_timer()
[all …]
/tools/perf/tests/
Dsw-clock.c19 static int __test__sw_clock_freq(enum perf_sw_ids clock_id) in __test__sw_clock_freq() argument
31 .config = clock_id, in __test__sw_clock_freq()