/Zephyr-latest/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 | timer.c | 97 test_timer(CLOCK_MONOTONIC, SIGEV_SIGNAL); in ZTEST() 102 test_timer(CLOCK_MONOTONIC, SIGEV_THREAD); in ZTEST() 112 zassert_ok(timer_create(CLOCK_MONOTONIC, &sig, &timerid)); in ZTEST() 135 zassert_ok(timer_create(CLOCK_MONOTONIC, &sig, &timerid)); in ZTEST()
|
D | clock.c | 23 CLOCK_MONOTONIC, 250 {CLOCK_MONOTONIC, NULL, 0}, in ZTEST() 255 {CLOCK_MONOTONIC, &res, 0}, in ZTEST()
|
D | cond.c | 58 zassert_equal(clock_id, CLOCK_MONOTONIC, "clock attribute not set correctly"); in ZTEST()
|
D | mqueue.c | 38 clock_gettime(CLOCK_MONOTONIC, &curtime); in sender_thread() 56 clock_gettime(CLOCK_MONOTONIC, &curtime); in receiver_thread()
|
D | mutex.c | 185 zassume_ok(clock_gettime(CLOCK_MONOTONIC, &time_point)); in test_mutex_timedlock_fn()
|
D | pthread.c | 416 clock_gettime(CLOCK_MONOTONIC, ¬_done); in ZTEST() 417 clock_gettime(CLOCK_MONOTONIC, &done); in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | clock.c | 36 case CLOCK_MONOTONIC: in z_impl___posix_clock_get_base() 69 case CLOCK_MONOTONIC: in clock_gettime() 107 if (!(clock_id == CLOCK_MONOTONIC || clock_id == CLOCK_REALTIME || in clock_getres() 204 if (!((clock_id == CLOCK_REALTIME) || (clock_id == CLOCK_MONOTONIC))) { in __z_clock_nanosleep() 258 return __z_clock_nanosleep(CLOCK_MONOTONIC, 0, rqtp, rmtp); in nanosleep()
|
D | timespec_to_timeout.c | 20 clock_gettime(CLOCK_MONOTONIC, &curtime); in timespec_to_timeoutms()
|
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 | Kconfig.timer | 31 This enables CLOCK_MONOTONIC.
|
D | Kconfig.profile | 10 select POSIX_AEP_REALTIME_MINIMAL # CLOCK_MONOTONIC, pthread_attr_setstack(), etc
|
/Zephyr-latest/include/zephyr/posix/ |
D | time.h | 80 #ifndef CLOCK_MONOTONIC 81 #define CLOCK_MONOTONIC 4 macro
|
/Zephyr-latest/tests/lib/c_lib/thrd/src/ |
D | mtx.c | 97 zassume_ok(clock_gettime(CLOCK_MONOTONIC, &time_point)); in mtx_timedlock_fn()
|
D | cnd.c | 74 zassume_ok(clock_gettime(CLOCK_MONOTONIC, &time_point)); in test_cnd_thread_fn()
|
/Zephyr-latest/samples/posix/philosophers/src/ |
D | main.c | 127 clock_gettime(CLOCK_MONOTONIC, &ts); in get_random_delay()
|
/Zephyr-latest/boards/native/native_posix/ |
D | timer_model.c | 137 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime()
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | timer_model.c | 125 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime()
|
/Zephyr-latest/doc/kernel/ |
D | timeutil.rst | 12 equivalent to this counter is something like ``CLOCK_MONOTONIC`` or, in Linux,
|
/Zephyr-latest/doc/services/portability/posix/option_groups/ |
D | index.rst | 809 CLOCK_MONOTONIC,yes
|