Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dclock_nanosleep.cpp35 int clock_nanosleep(clockid_t clock_id, int flags, const timespec* in, timespec* out) { in clock_nanosleep() argument
36 if (clock_id == CLOCK_THREAD_CPUTIME_ID) return EINVAL; in clock_nanosleep()
39 return (__clock_nanosleep(clock_id, flags, in, out) == 0) ? 0 : errno; in clock_nanosleep()
Dvdso.cpp36 int clock_gettime(int clock_id, timespec* tp) { in clock_gettime() argument
40 return vdso_return(vdso_clock_gettime(clock_id, tp)); in clock_gettime()
42 return __clock_gettime(clock_id, tp); in clock_gettime()
45 int clock_getres(int clock_id, timespec* tp) { in clock_getres() argument
49 return vdso_return(vdso_clock_getres(clock_id, tp)); in clock_getres()
51 return __clock_getres(clock_id, tp); in clock_getres()
Dposix_timers.cpp106 int timer_create(clockid_t clock_id, sigevent* evp, timer_t* timer_id) { in timer_create() argument
116 if (__timer_create(clock_id, evp, &timer->kernel_timer_id) == -1) { in timer_create()
169 if (__timer_create(clock_id, &se, &timer->kernel_timer_id) == -1) { in timer_create()