Searched refs:clockID (Results 1 - 11 of 11) sorted by relevance

/haiku/src/libs/posix_error_mapper/
H A Dtime.cpp13 (clockid_t clockID, int flags, const struct timespec* time,
15 return B_TO_POSITIVE_ERROR(sReal_clock_nanosleep(clockID, flags, time,
H A Dpthread_condattr.cpp38 (const pthread_condattr_t *condAttr, clockid_t *clockID),
40 clockID));
45 (pthread_condattr_t *condAttr, clockid_t clockID),
47 clockID));
/haiku/src/system/libroot/posix/time/
H A Dclock_support.cpp23 clock_getres(clockid_t clockID, struct timespec* resolution) argument
26 switch (clockID) {
33 if (clockID < 0)
37 if (clockID != getpid()) {
39 if (clock_gettime(clockID, &dummy) != 0)
55 clock_gettime(clockid_t clockID, struct timespec* time) argument
60 switch (clockID) {
71 status_t error = _kern_get_clock(clockID, &microSeconds);
86 clock_settime(clockid_t clockID, const struct timespec* time) argument
89 if (clockID
105 clock_nanosleep(clockid_t clockID, int flags, const struct timespec* time, struct timespec* remainingTime) argument
[all...]
H A Dtimer_support.cpp87 timer_create(clockid_t clockID, struct sigevent* event, timer_t* _timer) argument
111 int32 timerID = _kern_create_timer(clockID, -1, 0, event,
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_condattr.c90 pthread_condattr_setclock(pthread_condattr_t *_condAttr, clockid_t clockID) argument
95 || (clockID != CLOCK_REALTIME && clockID != CLOCK_MONOTONIC))
98 attr->clock_id = clockID;
/haiku/headers/posix/
H A Dtime.h101 int clock_getres(clockid_t clockID, struct timespec* resolution);
102 int clock_gettime(clockid_t clockID, struct timespec* _time);
103 int clock_settime(clockid_t clockID, const struct timespec* _time);
104 int clock_nanosleep(clockid_t clockID, int flags,
109 int timer_create(clockid_t clockID, struct sigevent* event,
H A Dpthread.h157 clockid_t *clockID);
159 clockid_t clockID);
/haiku/src/system/kernel/
H A DUserTimer.cpp1231 create_timer(clockid_t clockID, int32 timerID, Team* team, Thread* thread, argument
1237 switch (clockID) {
1268 if (clockID <= 0)
1270 if (clockID == team_get_kernel_team_id())
1273 Team* timedTeam = Team::GetAndLock(clockID);
1285 timer = new(std::nothrow) TeamTimeUserTimer(clockID);
1474 user_timer_get_clock(clockid_t clockID, bigtime_t& _time) argument
1476 switch (clockID) {
1506 if (clockID == CLOCK_PROCESS_CPUTIME_ID) {
1509 if (clockID <
1605 _user_get_clock(clockid_t clockID, bigtime_t* userTime) argument
1624 _user_set_clock(clockid_t clockID, bigtime_t time) argument
1690 _user_create_timer(clockid_t clockID, thread_id threadID, uint32 flags, const struct sigevent* userEvent, const thread_creation_attributes* userThreadAttributes) argument
[all...]
H A Dthread.cpp1394 common_snooze_etc(bigtime_t timeout, clockid_t clockID, uint32 flags,
1404 switch (clockID) {
/haiku/headers/private/kernel/
H A DUserTimer.h254 status_t user_timer_get_clock(clockid_t clockID, bigtime_t& _time);
262 status_t _user_get_clock(clockid_t clockID, bigtime_t* _time);
263 status_t _user_set_clock(clockid_t clockID, bigtime_t time);
265 int32 _user_create_timer(clockid_t clockID, thread_id threadID,
/haiku/headers/private/system/
H A Dsyscalls.h411 extern status_t _kern_get_clock(clockid_t clockID, bigtime_t* _time);
412 extern status_t _kern_set_clock(clockid_t clockID, bigtime_t time);
418 extern int32 _kern_create_timer(clockid_t clockID, thread_id threadID,

Completed in 72 milliseconds