/l4re-core-master/uclibc/lib/contrib/uclibc/librt/ |
A D | clock_gettime.c | 27 retval = INLINE_SYSCALL (clock_gettime, 2, clock_id, tp); \ 74 retval = maybe_syscall_gettime (clock_id, tp); \ 157 (clock_id == CLOCK_THREAD_CPUTIME_ID in maybe_syscall_gettime_cputime() 175 retval = hp_timing_gettime (clock_id, tp); \ 220 if (clock_id != CLOCK_PROCESS_CPUTIME_ID in hp_timing_gettime() 222 return __pthread_clock_gettime (clock_id, freq, tp); in hp_timing_gettime() 256 clock_gettime (clockid_t clock_id, struct timespec *tp) in librt_hidden_proto() 263 switch (clock_id) in librt_hidden_proto() 282 if ((clock_id & ((1 << CLOCK_IDFIELD_SIZE) - 1)) in librt_hidden_proto() 284 retval = hp_timing_gettime (clock_id, tp); in librt_hidden_proto() [all …]
|
A D | clock_nanosleep.c | 30 clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req, in clock_nanosleep() argument 36 if (clock_id == CLOCK_THREAD_CPUTIME_ID) in clock_nanosleep() 38 if (clock_id == CLOCK_PROCESS_CPUTIME_ID) in clock_nanosleep() 39 clock_id = MAKE_PROCESS_CPUCLOCK (0, CPUCLOCK_SCHED); in clock_nanosleep() 42 r = INTERNAL_SYSCALL (clock_nanosleep, err, 4, clock_id, flags, req, rem); in clock_nanosleep() 47 r = INTERNAL_SYSCALL (clock_nanosleep, err, 4, clock_id, flags, req, in clock_nanosleep() 70 if (clock_id == CLOCK_THREAD_CPUTIME_ID) \ 72 if (clock_id == CLOCK_PROCESS_CPUTIME_ID) \ 75 syscall_clockid = clock_id; \
|
A D | timer_create.c | 18 static __inline__ _syscall3(int, __syscall_timer_create, clockid_t, clock_id, 22 int timer_create(clockid_t clock_id, struct sigevent *evp, timer_t * timerid) in timer_create() argument 53 retval = __syscall_timer_create(clock_id, evp, &ktimerid); in timer_create()
|
A D | clock_getcpuclockid.c | 31 clock_getcpuclockid (pid_t pid, clockid_t *clock_id) in clock_getcpuclockid() argument 53 *clock_id = pidclock; in clock_getcpuclockid() 95 *clock_id = CLOCK_PROCESS_CPUTIME_ID; in clock_getcpuclockid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/ |
A D | timer_create.c | 30 timer_create (clock_id, evp, timerid) in timer_create() argument 31 clockid_t clock_id; in timer_create() 41 || clock_id == CLOCK_PROCESS_CPUTIME_ID 44 || clock_id == CLOCK_THREAD_CPUTIME_ID 54 if (clock_id != CLOCK_REALTIME) 119 thread = __timer_thread_find_matching (&newtimer->attr, clock_id); 123 thread = __timer_thread_alloc (&newtimer->attr, clock_id); 146 newtimer->clock = clock_id;
|
A D | getcpuclockid.c | 37 pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id) in pthread_getcpuclockid() argument 70 *clock_id = pidclock; in pthread_getcpuclockid() 105 >= 1 << (8 * sizeof (*clock_id) - CLOCK_IDFIELD_SIZE)) in pthread_getcpuclockid() 109 *clock_id = CLOCK_THREAD_CPUTIME_ID | (thread_id << CLOCK_IDFIELD_SIZE); in pthread_getcpuclockid()
|
A D | timer_routines.c | 145 thread_init (struct thread_node *thread, const pthread_attr_t *attr, clockid_t clock_id) in thread_init() argument 160 thread->clock_id = clock_id; in thread_init() 225 __timer_thread_alloc (const pthread_attr_t *desired_attr, clockid_t clock_id) in __timer_thread_alloc() argument 233 thread_init (thread, desired_attr, clock_id); in __timer_thread_alloc() 525 && desired_clock_id == candidate->clock_id) in __timer_thread_find_matching()
|
A D | posix-timer.h | 46 clockid_t clock_id; member
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/ |
A D | pthread_condattr_setclock.c | 31 clockid_t clock_id) in pthread_condattr_setclock() argument 35 if (clock_id == CLOCK_MONOTONIC) in pthread_condattr_setclock() 58 else if (clock_id != CLOCK_REALTIME) in pthread_condattr_setclock() 64 assert (clock_id < (1 << COND_NWAITERS_SHIFT)); in pthread_condattr_setclock() 69 | (clock_id << 1)); in pthread_condattr_setclock()
|
A D | pthread_condattr_getclock.c | 25 clockid_t *clock_id) in pthread_condattr_getclock() argument 27 *clock_id = (((((const struct pthread_condattr *) attr)->value) >> 1) in pthread_condattr_getclock()
|
A D | pthread_clock_settime.c | 26 __pthread_clock_settime (clockid_t clock_id, hp_timing_t offset) in __pthread_clock_settime() argument 29 pid_t tid = ((unsigned int) clock_id) >> CLOCK_IDFIELD_SIZE; in __pthread_clock_settime()
|
A D | pthread_clock_gettime.c | 26 __pthread_clock_gettime (clockid_t clock_id, hp_timing_t freq, in __pthread_clock_gettime() argument 35 pid_t tid = ((unsigned int) clock_id) >> CLOCK_IDFIELD_SIZE; in __pthread_clock_gettime()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | timer_create.c | 31 clockid_t clock_id, in timer_create() argument 41 || clock_id == CLOCK_PROCESS_CPUTIME_ID in timer_create() 44 || clock_id == CLOCK_THREAD_CPUTIME_ID in timer_create() 54 if (clock_id != CLOCK_REALTIME) in timer_create() 119 thread = __timer_thread_find_matching (&newtimer->attr, clock_id); in timer_create() 123 thread = __timer_thread_alloc (&newtimer->attr, clock_id); in timer_create() 146 newtimer->clock = clock_id; in timer_create()
|
A D | timer_routines.c | 146 thread_init (struct thread_node *thread, const pthread_attr_t *attr, clockid_t clock_id) in thread_init() argument 161 thread->clock_id = clock_id; in thread_init() 226 __timer_thread_alloc (const pthread_attr_t *desired_attr, clockid_t clock_id) in __timer_thread_alloc() argument 234 thread_init (thread, desired_attr, clock_id); in __timer_thread_alloc() 530 && desired_clock_id == candidate->clock_id) in __timer_thread_find_matching()
|
A D | posix-timer.h | 46 clockid_t clock_id; member
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | timer_create.c | 35 static int compat_timer_create (clockid_t clock_id, struct sigevent *evp, 52 clockid_t clock_id, in timer_create() argument 61 clockid_t syscall_clockid = (clock_id == CLOCK_PROCESS_CPUTIME_ID in timer_create() 63 : clock_id == CLOCK_THREAD_CPUTIME_ID in timer_create() 65 : clock_id); in timer_create() 232 return compat_timer_create (clock_id, evp, timerid); in timer_create()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/ |
A D | clock_gettime.c | 15 _syscall2(int, clock_gettime, clockid_t, clock_id, struct timespec*, tp) 19 int clock_gettime(clockid_t clock_id, struct timespec* tp) 24 switch (clock_id) {
|
A D | clock_getres.c | 14 _syscall2(int, clock_getres, clockid_t, clock_id, struct timespec*, res) 18 int clock_getres(clockid_t clock_id, struct timespec* res) 22 switch (clock_id) {
|
A D | clock_settime.c | 14 _syscall2(int, clock_settime, clockid_t, clock_id, const struct timespec*, tp) 18 int clock_settime(clockid_t clock_id, const struct timespec* tp) 28 switch (clock_id) {
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/ |
A D | compat-timer.h | 28 extern int __timer_create_new (clockid_t clock_id, struct sigevent *evp, 38 extern int __timer_create_old (clockid_t clock_id, struct sigevent *evp,
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/ |
A D | ptclock_settime.c | 26 __pthread_clock_settime (clockid_t clock_id, hp_timing_t offset) in __pthread_clock_settime() argument 29 pthread_t thread = ((unsigned int) clock_id) >> CLOCK_IDFIELD_SIZE; in __pthread_clock_settime()
|
A D | ptclock_gettime.c | 26 __pthread_clock_gettime (clockid_t clock_id, hp_timing_t freq, in __pthread_clock_gettime() argument 31 pthread_t thread = ((unsigned int) clock_id) >> CLOCK_IDFIELD_SIZE; in __pthread_clock_gettime()
|