Home
last modified time | relevance | path

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

/tools/testing/selftests/timers/
Dalarmtimer-suspend.c64 int alarm_clock_id; variable
113 clock_gettime(alarm_clock_id, &ts); in sigalarm()
150 for (alarm_clock_id = CLOCK_REALTIME_ALARM; in main()
151 alarm_clock_id <= CLOCK_BOOTTIME_ALARM; in main()
152 alarm_clock_id++) { in main()
155 if (timer_create(alarm_clock_id, &se, &tm1) == -1) { in main()
157 clockstring(alarm_clock_id)); in main()
161 clock_gettime(alarm_clock_id, &start_time); in main()
162 printf("Start time (%s): %ld:%ld\n", clockstring(alarm_clock_id), in main()