Searched refs:CLOCK_REALTIME (Results 1 – 11 of 11) sorted by relevance
/Zephyr-Core-3.4.0/tests/posix/common/src/ |
D | clock.c | 54 ret = clock_gettime(CLOCK_REALTIME, &rts); in ZTEST() 72 ret = clock_settime(CLOCK_REALTIME, &nts); in ZTEST() 84 ret = clock_gettime(CLOCK_REALTIME, &rts); in ZTEST() 113 ret = clock_gettime(CLOCK_REALTIME, &rts); in ZTEST()
|
D | semaphore.c | 83 zassert_equal(clock_gettime(CLOCK_REALTIME, &abstime), 0, in ZTEST()
|
/Zephyr-Core-3.4.0/lib/posix/ |
D | clock.c | 39 case CLOCK_REALTIME: in z_impl_clock_gettime() 90 if (clock_id != CLOCK_REALTIME) { in clock_settime() 123 res = clock_gettime(CLOCK_REALTIME, &ts); in gettimeofday()
|
D | semaphore.c | 104 if (clock_gettime(CLOCK_REALTIME, ¤t) < 0) { in sem_timedwait()
|
/Zephyr-Core-3.4.0/include/zephyr/posix/ |
D | time.h | 68 #ifndef CLOCK_REALTIME 69 #define CLOCK_REALTIME 1 macro
|
/Zephyr-Core-3.4.0/lib/libc/common/source/time/ |
D | time.c | 17 ret = clock_gettime(CLOCK_REALTIME, &ts); in time()
|
/Zephyr-Core-3.4.0/subsys/shell/modules/ |
D | date_service.c | 145 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_set() 178 ret = clock_settime(CLOCK_REALTIME, &tp); in cmd_date_set() 194 clock_gettime(CLOCK_REALTIME, &tp); in cmd_date_get()
|
/Zephyr-Core-3.4.0/subsys/net/lib/config/ |
D | init_clock_sntp.c | 28 res = clock_settime(CLOCK_REALTIME, &tspec); in net_init_clock_via_sntp()
|
/Zephyr-Core-3.4.0/boards/posix/native_posix/ |
D | timer_model.c | 164 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
|
/Zephyr-Core-3.4.0/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 427 clock_settime(CLOCK_REALTIME, &tspec); in sntp_sync_time()
|
/Zephyr-Core-3.4.0/doc/releases/ |
D | release-notes-2.3.rst | 1119 * :github:`23624` - posix: clock: clock_gettime fault on userspace with CLOCK_REALTIME
|