Home
last modified time | relevance | path

Searched refs:k_uptime_seconds (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/basic/hash_map/src/
Dmain.c50 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()
63 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()
75 if (k_uptime_seconds() > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()
/Zephyr-latest/subsys/lorawan/services/
Dclock_sync.c74 uint32_t device_time = k_uptime_seconds() + ctx.time_offset; in clock_sync_serialize_device_time()
224 *gps_time = k_uptime_seconds() + ctx.time_offset; in lorawan_clock_sync_get()
/Zephyr-latest/tests/subsys/lorawan/clock_sync/src/
Dmain.c84 zassert_within((int)device_time, k_uptime_seconds(), 1); in ZTEST()
93 zassert_within(gps_time, k_uptime_seconds() + 1000, 1); in ZTEST()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dipso_light_control.c81 on_time_value[i] = k_uptime_seconds() - on_time_offset[i]; in on_time_read_cb()
111 on_time_offset[i] = k_uptime_seconds(); in on_time_post_write_cb()
Dlwm2m_obj_device.c179 time_temp = time_offset + k_uptime_seconds(); in current_time_read_cb()
198 time_offset = *(uint32_t *)data - k_uptime_seconds(); in current_time_post_write_cb()
201 time_offset = *(time_t *)data - (time_t)k_uptime_seconds(); in current_time_post_write_cb()
/Zephyr-latest/subsys/net/ip/
Dipv6_pe.c196 addr_age = k_uptime_seconds() - ipv6->unicast[i].addr_create_time; in ipv6_pe_prefix_update_lifetimes()
409 ifaddr->addr_create_time = k_uptime_seconds(); in net_ipv6_pe_start()
701 diff = (int32_t)(ipv6->unicast[i].addr_create_time - k_uptime_seconds()); in renewal_cb()
/Zephyr-latest/include/zephyr/
Dkernel.h1891 static inline uint32_t k_uptime_seconds(void) in k_uptime_seconds() function
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst273 * Added :c:func:`k_uptime_seconds` function to simplify ``k_uptime_get() / 1000`` usage.