/Zephyr-latest/tests/posix/common/src/ |
D | clock.c | 24 CLOCK_REALTIME, 107 zassert_ok(clock_gettime(CLOCK_REALTIME, &rts)); in ZTEST() 132 zassert_equal(clock_settime(CLOCK_REALTIME, NULL), -1); in ZTEST() 139 zassert_equal(clock_settime(CLOCK_REALTIME, &ts), -1); in ZTEST() 143 zassert_equal(clock_settime(CLOCK_REALTIME, &ts), -1); in ZTEST() 186 (void)clock_gettime(CLOCK_REALTIME, &then); in ZTEST() 190 (void)clock_gettime(CLOCK_REALTIME, &now); in ZTEST() 249 {CLOCK_REALTIME, NULL, 0}, in ZTEST() 254 {CLOCK_REALTIME, &res, 0}, in ZTEST()
|
D | nanosleep.c | 109 common_errors(SELECT_NANOSLEEP, CLOCK_REALTIME, 0); in ZTEST() 126 clock_gettime(CLOCK_REALTIME, &req); in ZTEST() 127 zassert_equal(clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &req, &rem), 0); in ZTEST() 256 clock_gettime(CLOCK_REALTIME, &ts); in ZTEST() 261 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST() 265 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST() 269 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST() 273 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST() 277 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST() 281 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST()
|
D | cond.c | 60 zassert_ok(pthread_condattr_setclock(&att, CLOCK_REALTIME), in ZTEST() 64 zassert_equal(clock_id, CLOCK_REALTIME, "clock attribute not set correctly"); in ZTEST()
|
D | timer.c | 87 test_timer(CLOCK_REALTIME, SIGEV_SIGNAL); in ZTEST() 92 test_timer(CLOCK_REALTIME, SIGEV_THREAD); in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | clock.c | 41 case CLOCK_REALTIME: in z_impl___posix_clock_get_base() 74 case CLOCK_REALTIME: in clock_gettime() 107 if (!(clock_id == CLOCK_MONOTONIC || clock_id == CLOCK_REALTIME || in clock_getres() 136 if (clock_id != CLOCK_REALTIME) { in clock_settime() 204 if (!((clock_id == CLOCK_REALTIME) || (clock_id == CLOCK_MONOTONIC))) { in __z_clock_nanosleep() 228 if (flags & TIMER_ABSTIME && clock_id == CLOCK_REALTIME) { in __z_clock_nanosleep() 281 res = clock_gettime(CLOCK_REALTIME, &ts); in gettimeofday()
|
D | cond.c | 251 if (clock_id != CLOCK_REALTIME && clock_id != CLOCK_MONOTONIC) { in pthread_condattr_setclock()
|
D | semaphore.c | 173 if (clock_gettime(CLOCK_REALTIME, ¤t) < 0) { in sem_timedwait()
|
/Zephyr-latest/include/zephyr/posix/ |
D | time.h | 68 #ifndef CLOCK_REALTIME 69 #define CLOCK_REALTIME 1 macro
|
/Zephyr-latest/lib/libc/common/source/time/ |
D | time.c | 17 ret = clock_gettime(CLOCK_REALTIME, &ts); in time()
|
/Zephyr-latest/subsys/shell/modules/ |
D | date_service.c | 147 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_set() 180 ret = clock_settime(CLOCK_REALTIME, &tp); in cmd_date_set() 196 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_get()
|
/Zephyr-latest/subsys/net/lib/config/ |
D | init_clock_sntp.c | 53 res = clock_settime(CLOCK_REALTIME, &tspec); in net_init_clock_via_sntp()
|
/Zephyr-latest/boards/native/native_posix/ |
D | timer_model.c | 164 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | timer_model.c | 157 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
|
/Zephyr-latest/tests/posix/semaphores/src/ |
D | main.c | 52 zassert_equal(clock_gettime(CLOCK_REALTIME, &abstime), 0, "clock_gettime failed"); in semaphore_test()
|
/Zephyr-latest/subsys/logging/ |
D | log_core.c | 245 clock_gettime(CLOCK_REALTIME, &tspec); in default_rt_get_timestamp()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 1180 * Added support for async thread cancellation and ``SIGEV_THREAD``, ``CLOCK_REALTIME``.
|
D | release-notes-2.3.rst | 1119 * :github:`23624` - posix: clock: clock_gettime fault on userspace with CLOCK_REALTIME
|