/Zephyr-Core-3.7.0/tests/ztest/busy_sim/src/ |
D | main.c | 15 uint32_t t = k_uptime_get_32(); in ZTEST() 18 t = k_uptime_get_32() - t; in ZTEST() 23 t = k_uptime_get_32(); in ZTEST() 26 t = k_uptime_get_32() - t; in ZTEST() 38 t = k_uptime_get_32(); in ZTEST() 40 t = k_uptime_get_32() - t; in ZTEST()
|
/Zephyr-Core-3.7.0/tests/kernel/sleep/src/ |
D | main.c | 81 tick = k_uptime_get_32(); in align_to_tick_boundary() 82 while (k_uptime_get_32() == tick) { in align_to_tick_boundary() 114 start_tick = k_uptime_get_32(); in test_thread() 116 end_tick = k_uptime_get_32(); in test_thread() 128 start_tick = k_uptime_get_32(); in test_thread() 130 end_tick = k_uptime_get_32(); in test_thread() 141 start_tick = k_uptime_get_32(); in test_thread() 143 end_tick = k_uptime_get_32(); in test_thread() 154 start_tick = k_uptime_get_32(); in test_thread() 156 end_tick = k_uptime_get_32(); in test_thread() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/common/src/ |
D | clock.c | 11 uint32_t t = k_uptime_get_32(); \ 12 while (t == k_uptime_get_32()) \ 53 t32 = k_uptime_get_32(); in ZTEST_USER() 54 while (k_uptime_get_32() < (t32 + 5)) { in ZTEST_USER() 59 t32 = k_uptime_get_32(); in ZTEST_USER() 61 zassert_true(k_uptime_get_32() > t32); in ZTEST_USER() 126 t32 = k_uptime_get_32(); in ZTEST() 127 while (t32 == k_uptime_get_32()) { in ZTEST() 131 c1 = k_uptime_get_32(); in ZTEST()
|
D | timeout_order.c | 65 uint32_t uptime = k_uptime_get_32(); in ZTEST() 68 while (uptime == k_uptime_get_32()) { in ZTEST()
|
/Zephyr-Core-3.7.0/tests/kernel/tickless/tickless_concept/src/ |
D | main.c | 32 uint32_t t = k_uptime_get_32(); \ 33 while (t == k_uptime_get_32()) \ 74 t0 = k_uptime_get_32(); in ZTEST() 76 t1 = k_uptime_get_32(); in ZTEST() 82 t0 = k_uptime_get_32(); in ZTEST() 84 t1 = k_uptime_get_32(); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/net/socket/poll/src/ |
D | main.c | 67 tstamp = k_uptime_get_32(); in ZTEST() 69 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST() 81 tstamp = k_uptime_get_32(); in ZTEST() 83 tstamp = k_uptime_get_32() - tstamp; in ZTEST() 92 tstamp = k_uptime_get_32(); in ZTEST() 94 tstamp = k_uptime_get_32() - tstamp; in ZTEST() 110 tstamp = k_uptime_get_32(); in ZTEST() 112 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST() 125 tstamp = k_uptime_get_32(); in ZTEST() 127 zassert_true(k_uptime_get_32() - tstamp < 100, ""); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/select/src/ |
D | main.c | 96 tstamp = k_uptime_get_32(); in ZTEST_USER() 98 tstamp = k_uptime_get_32() - tstamp; in ZTEST_USER() 114 tstamp = k_uptime_get_32(); in ZTEST_USER() 116 tstamp = k_uptime_get_32() - tstamp; in ZTEST_USER() 129 tstamp = k_uptime_get_32(); in ZTEST_USER() 131 tstamp = k_uptime_get_32() - tstamp; in ZTEST_USER() 146 tstamp = k_uptime_get_32(); in ZTEST_USER() 148 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST_USER() 160 tstamp = k_uptime_get_32(); in ZTEST_USER() 162 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST_USER()
|
/Zephyr-Core-3.7.0/drivers/lora/ |
D | hal_common.c | 56 return k_uptime_get_32(); in RtcGetTimerValue() 61 return (k_uptime_get_32() - saved_time); in RtcGetTimerElapsedTime() 81 saved_time = k_uptime_get_32(); in RtcSetTimerContext()
|
/Zephyr-Core-3.7.0/tests/kernel/sched/schedule_api/src/ |
D | main.c | 18 uint32_t t32 = k_uptime_get_32(); in spin_for_ms() 20 while (k_uptime_get_32() - t32 < ms) { in spin_for_ms()
|
/Zephyr-Core-3.7.0/subsys/net/lib/mqtt/ |
D | mqtt_os.h | 71 return k_uptime_get_32(); in mqtt_sys_tick_in_ms_get() 82 int32_t diff = k_uptime_get_32() - last_activity; in mqtt_elapsed_time_in_ms_get()
|
/Zephyr-Core-3.7.0/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_cancel.c | 30 uint32_t start_t = k_uptime_get_32(); in tfifo_thread_thread() 32 uint32_t dur = k_uptime_get_32() - start_t; in tfifo_thread_thread()
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_stack/src/ |
D | main.c | 300 k_uptime_get_32(), k_uptime_get_32(), in ZTEST() 301 k_uptime_get_32(), k_uptime_get_32(), in ZTEST() 302 k_uptime_get_32(), k_uptime_get_32()))); in ZTEST()
|
/Zephyr-Core-3.7.0/samples/drivers/counter/maxim_ds3231/src/ |
D | main.c | 39 k_uptime_get_32(), id, ticks, ud); in sec_counter_callback() 58 k_uptime_get_32(), ud, now - syncclock, rc); in sec_alarm_handler() 107 uint32_t uptime = k_uptime_get_32(); in min_alarm_handler() 208 uint32_t t0 = k_uptime_get_32(); in set_aligned_clock() 218 uint32_t t1 = k_uptime_get_32(); in set_aligned_clock() 274 uint32_t t0 = k_uptime_get_32(); in main() 281 uint32_t t1 = k_uptime_get_32(); in main() 328 printk("%u ms in: get alarms: %d %d\n", k_uptime_get_32(), in main()
|
/Zephyr-Core-3.7.0/subsys/net/lib/trickle/ |
D | trickle.c | 60 NET_DBG("now %u (was at %u)", k_uptime_get_32(), last_end); in double_interval_timeout() 79 trickle->Istart = k_uptime_get_32() + rand_time; in double_interval_timeout() 90 uint32_t now = k_uptime_get_32(); in reschedule() 108 NET_DBG("Trickle timeout at %d", k_uptime_get_32()); in interval_timeout() 145 trickle->Istart = k_uptime_get_32(); in setup_new_interval()
|
/Zephyr-Core-3.7.0/samples/net/ptp/src/ |
D | main.c | 68 uint32_t uptime = k_uptime_get_32(); in init_testing() 83 (k_uptime_get_32() - uptime) / 1000); in init_testing()
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_stm32wbax.c | 42 tickstart = k_uptime_get_32(); in stm32_icache_disable() 46 if ((k_uptime_get_32() - tickstart) > in stm32_icache_disable() 75 tickstart = k_uptime_get_32(); in icache_wait_for_invalidate_complete() 79 if ((k_uptime_get_32() - tickstart) > in icache_wait_for_invalidate_complete()
|
D | flash_stm32l5x.c | 56 tickstart = k_uptime_get_32(); in stm32_icache_disable() 60 if ((k_uptime_get_32() - tickstart) > in stm32_icache_disable() 89 tickstart = k_uptime_get_32(); in icache_wait_for_invalidate_complete() 93 if ((k_uptime_get_32() - tickstart) > in icache_wait_for_invalidate_complete()
|
/Zephyr-Core-3.7.0/samples/net/gptp/src/ |
D | gptp.c | 76 uint32_t uptime = k_uptime_get_32(); in init_testing() 91 (k_uptime_get_32() - uptime) / 1000); in init_testing()
|
/Zephyr-Core-3.7.0/soc/st/stm32/common/ |
D | stm32cube_hal.c | 25 return k_uptime_get_32(); in HAL_GetTick()
|
/Zephyr-Core-3.7.0/drivers/dac/ |
D | dac_mcp4725.c | 46 int32_t timeout = k_uptime_get_32() + MCP4725_BUSY_TIMEOUT_MS; in mcp4725_wait_until_ready() 59 if (k_uptime_get_32() > timeout) { in mcp4725_wait_until_ready()
|
/Zephyr-Core-3.7.0/tests/subsys/fs/littlefs/src/ |
D | test_lfs_perf.c | 87 t0 = k_uptime_get_32(); in write_read() 95 t1 = k_uptime_get_32(); in write_read() 126 t0 = k_uptime_get_32(); in write_read() 134 t1 = k_uptime_get_32(); in write_read()
|
/Zephyr-Core-3.7.0/modules/lvgl/include/ |
D | lv_conf.h | 36 #define LV_TICK_CUSTOM_SYS_TIME_EXPR (k_uptime_get_32())
|
/Zephyr-Core-3.7.0/samples/net/cellular_modem/src/ |
D | main.c | 162 send_start_ms = k_uptime_get_32(); in sample_echo_packet() 183 echo_received_ms = k_uptime_get_32(); in sample_echo_packet() 240 send_start_ms = k_uptime_get_32(); in sample_transmit_packets() 252 send_end_ms = k_uptime_get_32(); in sample_transmit_packets()
|
/Zephyr-Core-3.7.0/samples/boards/nrf/battery/src/ |
D | main.c | 37 uint32_t now = k_uptime_get_32(); in now_str()
|
/Zephyr-Core-3.7.0/drivers/watchdog/ |
D | wdt_iwdg_stm32.c | 120 tickstart = k_uptime_get_32(); in iwdg_stm32_setup() 124 if ((k_uptime_get_32() - tickstart) > IWDG_SR_UPDATE_TIMEOUT) { in iwdg_stm32_setup()
|