Home
last modified time | relevance | path

Searched refs:clockid_t (Results 1 – 25 of 139) sorted by relevance

123456

/glibc-2.36/support/
Dxtime.h34 void xclock_gettime (clockid_t clock, struct timespec *ts);
35 void xclock_settime (clockid_t clock, const struct timespec *ts);
37 void __REDIRECT (xclock_gettime, (clockid_t clock, struct timespec *ts),
39 void __REDIRECT (xclock_settime, (clockid_t clock, const struct timespec *ts),
46 static inline struct timespec xclock_now (clockid_t clock) in xclock_now()
/glibc-2.36/time/
Dtime.h285 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW;
288 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp)
292 extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp)
299 extern int __REDIRECT_NTH (clock_getres, (clockid_t __clock_id,
302 extern int __REDIRECT_NTH (clock_gettime, (clockid_t __clock_id, struct
305 extern int __REDIRECT_NTH (clock_settime, (clockid_t __clock_id, const struct
323 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
328 extern int __REDIRECT (clock_nanosleep, (clockid_t __clock_id, int __flags,
338 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW;
343 extern int timer_create (clockid_t __clock_id,
/glibc-2.36/sysdeps/unix/sysv/linux/
Dkernel-posix-cpu-timers.h5 (((clock) & (clockid_t) CPUCLOCK_PERTHREAD_MASK) != 0)
8 #define CPUCLOCK_WHICH(clock) ((clock) & (clockid_t) CPUCLOCK_CLOCK_MASK)
16 ((~(clockid_t) (pid) << 3) | (clockid_t) (clock))
Ddl-vdso-setup.c45 PROCINFO_CLASS int (*_dl_vdso_clock_gettime) (clockid_t,
49 PROCINFO_CLASS int (*_dl_vdso_clock_gettime64) (clockid_t,
62 PROCINFO_CLASS int (*_dl_vdso_clock_getres) (clockid_t,
66 PROCINFO_CLASS int (*_dl_vdso_clock_getres_time64) (clockid_t,
Dclock_gettime.c29 __clock_gettime64 (clockid_t clock_id, struct __timespec64 *tp) in __clock_gettime64()
38 int (*vdso_time64) (clockid_t clock_id, struct __timespec64 *tp) in __clock_gettime64()
50 int (*vdso_time) (clockid_t clock_id, struct timespec *tp) in __clock_gettime64()
92 __clock_gettime (clockid_t clock_id, struct timespec *tp) in libc_hidden_def()
Dtimer_create.c32 ___timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid) in ___timer_create()
35 clockid_t syscall_clockid = (clock_id == CLOCK_PROCESS_CPUTIME_ID in ___timer_create()
151 __timer_create_old (clockid_t clock_id, struct sigevent *evp, int *timerid) in __timer_create_old()
Dclock_getcpuclockid.c27 __clock_getcpuclockid (pid_t pid, clockid_t *clock_id) in __clock_getcpuclockid()
32 const clockid_t pidclock = MAKE_PROCESS_CPUCLOCK (pid, CPUCLOCK_SCHED); in __clock_getcpuclockid()
/glibc-2.36/nptl/
Dtst-rwlock9.c53 clockid_t clockid;
62 const clockid_t clockid = args->clockid; in writer_thread()
63 const clockid_t clockid_for_get = in writer_thread()
109 const clockid_t clockid = args->clockid; in reader_thread()
110 const clockid_t clockid_for_get = in reader_thread()
152 do_test_clock (clockid_t clockid, const char *fnname) in do_test_clock()
Dtst-rwlock7.c45 clockid_t clockid;
54 const clockid_t clockid = args->clockid; in tf()
55 const clockid_t clockid_for_get = in tf()
92 do_test_clock (clockid_t clockid, const char *fnname) in do_test_clock()
94 const clockid_t clockid_for_get = in do_test_clock()
Dtst-rwlock6.c46 clockid_t clockid;
55 const clockid_t clockid = args->clockid; in tf()
56 const clockid_t clockid_for_get = in tf()
96 do_test_clock (clockid_t clockid, const char *fnname) in do_test_clock()
98 const clockid_t clockid_for_get = in do_test_clock()
Dfutex-internal.c68 unsigned int expected, clockid_t clockid, in __futex_abstimed_wait_common()
125 clockid_t clockid, in __futex_abstimed_wait64()
135 unsigned int expected, clockid_t clockid, in libc_hidden_def()
145 __futex_lock_pi64 (int *futex_word, clockid_t clockid, in libc_hidden_def()
Dpthread_getcpuclockid.c27 __pthread_getcpuclockid (pthread_t threadid, clockid_t *clockid) in __pthread_getcpuclockid()
38 const clockid_t tidclock = MAKE_THREAD_CPUCLOCK (pd->tid, CPUCLOCK_SCHED); in __pthread_getcpuclockid()
Dpthread_rwlock_clockrdlock.c25 ___pthread_rwlock_clockrdlock64 (pthread_rwlock_t *rwlock, clockid_t clockid, in ___pthread_rwlock_clockrdlock64()
38 ___pthread_rwlock_clockrdlock (pthread_rwlock_t *rwlock, clockid_t clockid,
Dpthread_rwlock_clockwrlock.c25 ___pthread_rwlock_clockwrlock64 (pthread_rwlock_t *rwlock, clockid_t clockid, in ___pthread_rwlock_clockwrlock64()
38 ___pthread_rwlock_clockwrlock (pthread_rwlock_t *rwlock, clockid_t clockid,
Dpthread_cond_wait.c380 clockid_t clockid, const struct __timespec64 *abstime) in __pthread_cond_wait_common()
641 clockid_t clockid = (flags & __PTHREAD_COND_CLOCK_MONOTONIC_MASK) in libc_hidden_ver()
671 clockid_t clockid, in libc_hidden_ver()
693 clockid_t clockid,
/glibc-2.36/sysdeps/nptl/
Dfutex-internal.h183 futex_abstimed_supported_clockid (clockid_t clockid) in futex_abstimed_supported_clockid()
253 int __futex_lock_pi64 (int *futex_word, clockid_t clockid,
303 unsigned int expected, clockid_t clockid,
310 clockid_t clockid,
317 __futex_clocklock64 (int *futex, clockid_t clockid, in __futex_clocklock64()
DpthreadP.h440 clockid_t clockid,
452 clockid_t clockid,
456 clockid_t clockid,
460 clockid_t clockid,
470 clockid_t clockid,
484 clockid_t clockid,
490 clockid_t clockid,
529 extern int __pthread_clockjoin_ex (pthread_t, void **, clockid_t,
Dpthread.h244 clockid_t __clockid,
255 clockid_t __clockid,
818 clockid_t __clockid,
825 clockid_t __clockid,
1005 clockid_t __clockid,
1012 clockid_t __clockid,
1052 clockid_t __clockid,
1060 clockid_t __clockid,
/glibc-2.36/hurd/
Dhurdlock.h113 const clockid_t __clk[] = { CLOCK_REALTIME, ##__VA_ARGS__ }; \
120 const clockid_t __clk[] = { CLOCK_REALTIME, ##__VA_ARGS__ }; \
127 const clockid_t __clk[] = { CLOCK_REALTIME, ##__VA_ARGS__ }; \
134 const clockid_t __clk[] = { CLOCK_REALTIME, ##__VA_ARGS__ }; \
141 const clockid_t __clk[] = { CLOCK_REALTIME, ##__VA_ARGS__ }; \
/glibc-2.36/conform/data/
Dtime.h-data66 type clockid_t
82 function int clock_getcpuclockid (pid_t, clockid_t*)
85 function int clock_getres (clockid_t, struct timespec*)
86 function int clock_gettime (clockid_t, struct timespec*)
89 function int clock_nanosleep (clockid_t, int, const struct timespec*, struct timespec*)
92 function int clock_settime (clockid_t, const struct timespec*)
110 function int timer_create (clockid_t, struct sigevent*, timer_t*)
/glibc-2.36/sysdeps/pthread/
Dposix-timer.h39 clockid_t clock_id;
48 clockid_t clock;
184 …n struct thread_node *__timer_thread_find_matching (const pthread_attr_t *desired_attr, clockid_t);
185 extern struct thread_node *__timer_thread_alloc (const pthread_attr_t *desired_attr, clockid_t);
Dtst-cond11.c35 run_test (clockid_t attr_clock, clockid_t wait_clock) in run_test()
47 clockid_t attr_clock_read; in run_test()
Dtst-cond23.c27 check (pthread_condattr_t *condattr, int pshared, clockid_t cl) in check()
29 clockid_t cl2; in check()
59 run_test (clockid_t cl) in run_test()
Dtst-sem5.c32 do_test_clock (clockid_t clockid) in do_test_clock()
34 const clockid_t clockid_for_get = in do_test_clock()
/glibc-2.36/sysdeps/htl/
Dpt-cond-timedwait.c27 clockid_t clockid,
43 clockid_t clockid, in __pthread_cond_clockwait()
84 clockid_t clockid, in __pthread_cond_timedwait_internal()
89 clockid_t clock_id; in __pthread_cond_timedwait_internal()

123456