/Zephyr-latest/tests/posix/common/src/ |
D | clock.c | 72 zassert_equal(clock_gettime(CLOCK_INVALID, &ts), -1); in ZTEST() 78 zassert_equal(clock_gettime(clocks[0], NULL), -1); in ZTEST() 86 zassert_ok(clock_gettime(clocks[i], &ts)); in ZTEST() 107 zassert_ok(clock_gettime(CLOCK_REALTIME, &rts)); in ZTEST() 159 zassert_ok(clock_gettime(clocks[i], &ts)); in ZTEST() 186 (void)clock_gettime(CLOCK_REALTIME, &then); in ZTEST() 190 (void)clock_gettime(CLOCK_REALTIME, &now); in ZTEST()
|
D | nanosleep.c | 120 clock_gettime(CLOCK_MONOTONIC, &req); in ZTEST() 126 clock_gettime(CLOCK_REALTIME, &req); in ZTEST() 228 clock_gettime(CLOCK_MONOTONIC, &ts); in ZTEST() 256 clock_gettime(CLOCK_REALTIME, &ts); in ZTEST()
|
D | timer.c | 62 clock_gettime(clock_id, &ts); in test_timer() 64 clock_gettime(clock_id, &te); in test_timer()
|
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/libc/common/source/time/ |
D | time.c | 17 ret = clock_gettime(CLOCK_REALTIME, &ts); in time()
|
/Zephyr-latest/lib/posix/options/ |
D | timespec_to_timeout.c | 20 clock_gettime(CLOCK_MONOTONIC, &curtime); in timespec_to_timeoutms()
|
D | clock.c | 64 int clock_gettime(clockid_t clock_id, struct timespec *ts) in clock_gettime() function 281 res = clock_gettime(CLOCK_REALTIME, &ts); in gettimeofday()
|
D | semaphore.c | 173 if (clock_gettime(CLOCK_REALTIME, ¤t) < 0) { in sem_timedwait()
|
D | Kconfig.timer | 9 Select 'y' here and Zephyr will provide implementations of clock_getres(), clock_gettime(),
|
D | Kconfig.profile | 9 select POSIX_BASE_DEFINITIONS # clock_gettime(), pthread_create(), sem_get(), etc
|
/Zephyr-latest/boards/native/native_posix/ |
D | timer_model.c | 135 clock_gettime(CLOCK_MONOTONIC_RAW, tv); in host_clock_gettime() 137 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime() 164 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
|
/Zephyr-latest/subsys/shell/modules/ |
D | date_service.c | 147 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_set() 196 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_get()
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | timer_model.c | 123 clock_gettime(CLOCK_MONOTONIC_RAW, tv); in host_clock_gettime() 125 clock_gettime(CLOCK_MONOTONIC, tv); in host_clock_gettime() 157 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
|
/Zephyr-latest/include/zephyr/posix/ |
D | time.h | 93 int clock_gettime(clockid_t clock_id, struct timespec *ts);
|
/Zephyr-latest/tests/posix/common/ |
D | Kconfig | 7 int "Number of iterations to check clock_gettime() reliability"
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_native_posix_adapt.c | 124 ret = clock_gettime(CLOCK_MONOTONIC_RAW, &tp); in eth_clock_gettime()
|
/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/doc/develop/languages/c/ |
D | common_libc.rst | 15 relying on the Zephyr function, :c:func:`clock_gettime`. This function can
|
/Zephyr-latest/samples/posix/philosophers/src/ |
D | main.c | 127 clock_gettime(CLOCK_MONOTONIC, &ts); in get_random_delay()
|
/Zephyr-latest/arch/posix/include/ |
D | posix_cheats.h | 162 #define clock_gettime(...) zap_clock_gettime(__VA_ARGS__) macro
|
/Zephyr-latest/lib/libc/minimal/ |
D | Kconfig | 51 clock_gettime() function.
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 52 zassert_equal(clock_gettime(CLOCK_REALTIME, &abstime), 0, "clock_gettime failed"); in semaphore_test()
|