Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.4.0/tests/posix/common/src/
Dclock.c54 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()
Dsemaphore.c83 zassert_equal(clock_gettime(CLOCK_REALTIME, &abstime), 0, in ZTEST()
/Zephyr-Core-3.4.0/lib/posix/
Dclock.c39 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()
Dsemaphore.c104 if (clock_gettime(CLOCK_REALTIME, &current) < 0) { in sem_timedwait()
/Zephyr-Core-3.4.0/include/zephyr/posix/
Dtime.h68 #ifndef CLOCK_REALTIME
69 #define CLOCK_REALTIME 1 macro
/Zephyr-Core-3.4.0/lib/libc/common/source/time/
Dtime.c17 ret = clock_gettime(CLOCK_REALTIME, &ts); in time()
/Zephyr-Core-3.4.0/subsys/shell/modules/
Ddate_service.c145 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/
Dinit_clock_sntp.c28 res = clock_settime(CLOCK_REALTIME, &tspec); in net_init_clock_via_sntp()
/Zephyr-Core-3.4.0/boards/posix/native_posix/
Dtimer_model.c164 clock_gettime(CLOCK_REALTIME, &tv); in hwtimer_init()
/Zephyr-Core-3.4.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c427 clock_settime(CLOCK_REALTIME, &tspec); in sntp_sync_time()
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-2.3.rst1119 * :github:`23624` - posix: clock: clock_gettime fault on userspace with CLOCK_REALTIME