Searched refs:CLOCK_MONOTONIC (Results 1 – 15 of 15) sorted by relevance
/Zephyr-Core-3.5.0/tests/posix/common/src/ |
D | nanosleep.c | 117 common_errors(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME); in ZTEST() 120 clock_gettime(CLOCK_MONOTONIC, &req); in ZTEST() 121 zassert_equal(clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &req, &rem), 0); in ZTEST() 228 clock_gettime(CLOCK_MONOTONIC, &ts); in ZTEST() 233 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST() 237 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST() 241 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST() 245 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST() 249 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST() 253 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
|
D | clock.c | 27 zassert_ok(clock_gettime(CLOCK_MONOTONIC, &ts)); in ZTEST() 29 zassert_ok(clock_gettime(CLOCK_MONOTONIC, &te)); in ZTEST() 52 ret = clock_gettime(CLOCK_MONOTONIC, &mts); in ZTEST() 70 ret = clock_settime(CLOCK_MONOTONIC, &nts); in ZTEST()
|
D | timer.c | 40 ret = timer_create(CLOCK_MONOTONIC, &sig, &timerid); in ZTEST() 63 clock_gettime(CLOCK_MONOTONIC, &ts); in ZTEST() 70 clock_gettime(CLOCK_MONOTONIC, &te); in ZTEST() 101 timer_create(CLOCK_MONOTONIC, &sig, &timerid); in ZTEST()
|
D | mqueue.c | 42 clock_gettime(CLOCK_MONOTONIC, &curtime); in sender_thread() 60 clock_gettime(CLOCK_MONOTONIC, &curtime); in receiver_thread()
|
D | mutex.c | 218 zassume_ok(clock_gettime(CLOCK_MONOTONIC, &time_point)); in test_mutex_timedlock_fn()
|
D | pthread.c | 244 zassert_equal(clock_id, CLOCK_MONOTONIC, "clock attribute not set correctly"); in ZTEST()
|
/Zephyr-Core-3.5.0/include/zephyr/posix/ |
D | time.h | 72 #ifndef CLOCK_MONOTONIC 73 #define CLOCK_MONOTONIC 4 macro
|
/Zephyr-Core-3.5.0/lib/posix/ |
D | nanosleep.c | 23 return clock_nanosleep(CLOCK_MONOTONIC, 0, rqtp, rmtp); in nanosleep()
|
D | _common.c | 21 clock_gettime(CLOCK_MONOTONIC, &curtime); in timespec_to_timeoutms()
|
D | clock.c | 34 case CLOCK_MONOTONIC: in z_impl_clock_gettime() 124 if (!(clock_id == CLOCK_REALTIME || clock_id == CLOCK_MONOTONIC)) { in clock_nanosleep()
|
D | cond.c | 229 att->clock = CLOCK_MONOTONIC; in pthread_condattr_init() 251 if (clock_id != CLOCK_REALTIME && clock_id != CLOCK_MONOTONIC) { in pthread_condattr_setclock()
|
D | timer.c | 56 if (clockid != CLOCK_MONOTONIC || evp == NULL || in timer_create()
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/ |
D | timer_model.c | 137 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime()
|
/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/ |
D | timer_model.c | 125 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime()
|
/Zephyr-Core-3.5.0/doc/kernel/ |
D | timeutil.rst | 12 equivalent to this counter is something like ``CLOCK_MONOTONIC`` or, in Linux,
|