Searched refs:clock_id (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthr_cond.c | 66 pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) argument 71 (clock_id == CLOCK_REALTIME || clock_id == CLOCK_HIGHRES)) { 72 ap->clockid = clock_id; 82 pthread_condattr_getclock(const pthread_condattr_t *attr, clockid_t *clock_id) argument 87 clock_id != NULL) { 88 *clock_id = ap->clockid; 140 clockid_t clock_id; local 145 clock_id = CLOCK_REALTIME; 148 clock_id [all...] |
H A D | scalls.c | 609 clock_nanosleep(clockid_t clock_id, int flags, argument 618 switch (clock_id) { 630 abstime_to_reltime(clock_id, rqtp, &reltime); 634 if (clock_id == CLOCK_HIGHRES) 641 if (error == 0 && clock_id == CLOCK_HIGHRES) { 650 abstime_to_reltime(clock_id, rqtp, &reltime); 663 if (error == 0 && clock_id == CLOCK_REALTIME && 677 abstime_to_reltime(clock_id, rqtp, &reltime);
|
H A D | synch.c | 3590 clockid_t clock_id = cvp->cond_clockid; local 3598 if (clock_id != CLOCK_REALTIME && clock_id != CLOCK_HIGHRES) 3599 clock_id = CLOCK_REALTIME; 3600 abstime_to_reltime(clock_id, abstime, &reltime); 3602 if (error == ETIME && clock_id == CLOCK_HIGHRES) {
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | __clock_gettime.s | 33 * __clock_gettime(clockid_t clock_id, timespec_t *tp) 38 cmpl $__CLOCK_REALTIME0, %eax / if (clock_id) 40 cmpl $CLOCK_REALTIME, %eax / or if (clock_id)
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | clock_timer.c | 64 clock_getres(clockid_t clock_id, timespec_t *res) argument 66 return (__clock_getres(clock_id, res)); 70 clock_gettime(clockid_t clock_id, timespec_t *tp) argument 72 return (__clock_gettime(clock_id, tp)); 76 clock_settime(clockid_t clock_id, const timespec_t *tp) argument 78 return (__clock_settime(clock_id, tp)); 82 timer_create(clockid_t clock_id, struct sigevent *sigevp, timer_t *timerid) argument 107 rc = __timer_create(clock_id, sigevp, timerid);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 70 abstime_to_reltime(clockid_t clock_id, argument 76 if (clock_id == CLOCK_HIGHRES) 79 (void) __clock_gettime(clock_id, &now);
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | __clock_gettime.s | 33 * __clock_gettime(clockid_t clock_id, timespec_t *tp) 37 cmp %o0, __CLOCK_REALTIME0 ! if (clock_id)
|
Completed in 74 milliseconds