Searched refs:clock_id (Results 1 – 2 of 2) sorted by relevance
64 int clock_id = CLOCK_MONOTONIC; in main() local74 clock_id = atoi(argv[1]); in main()75 printf("using clock %d\n", clock_id); in main()77 clock_gettime(clock_id, &t1); in main()81 clock_gettime(clock_id, &t); in main()
136 static bool timer_create_internal(const clockid_t clock_id, timer_t *timer);676 static bool timer_create_internal(const clockid_t clock_id, timer_t *timer) { in timer_create_internal() argument683 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()685 __func__, clock_id, strerror(errno)); in timer_create_internal()686 if (clock_id == CLOCK_BOOTTIME_ALARM) { in timer_create_internal()