/Zephyr-Core-3.6.0/tests/kernel/threads/no-multithreading/src/ |
D | main.c | 13 int64_t now = k_uptime_get(); in ZTEST() 16 while (k_uptime_get() != now) { in ZTEST() 24 now = k_uptime_get(); in ZTEST() 28 int64_t diff = k_uptime_get() - now; in ZTEST() 65 now = k_uptime_get(); in ZTEST() 73 diff = k_uptime_get() - now; in ZTEST()
|
/Zephyr-Core-3.6.0/tests/posix/common/src/ |
D | sleep.c | 40 then = k_uptime_get(); in ZTEST() 42 now = k_uptime_get(); in ZTEST() 46 then = k_uptime_get(); in ZTEST() 48 now = k_uptime_get(); in ZTEST() 69 then = k_uptime_get(); in ZTEST() 71 now = k_uptime_get(); in ZTEST()
|
/Zephyr-Core-3.6.0/drivers/watchdog/ |
D | wdt_npcx.c | 101 st = k_uptime_get(); in wdt_t0out_reload() 103 if (k_uptime_get() - st > NPCX_T0CSR_RST_TIMEOUT) { in wdt_t0out_reload() 120 st = k_uptime_get(); in wdt_wait_stopped() 123 if (k_uptime_get() - st > NPCX_WATCHDOG_STOP_TIMEOUT) { in wdt_wait_stopped() 273 while (k_uptime_get() - data->last_watchdog_touch < NPCX_WDT_MIN_WND_TIME) { in wdt_npcx_disable() 301 data->last_watchdog_touch = k_uptime_get(); in wdt_npcx_feed()
|
/Zephyr-Core-3.6.0/drivers/sensor/pms7003/ |
D | pms7003.c | 53 int64_t timeout_time = k_uptime_get() + timeout; in uart_wait_for() 58 if (k_uptime_get() > timeout_time) { in uart_wait_for() 91 int64_t timeout_time = k_uptime_get() + timeout; in uart_read_bytes() 96 if (k_uptime_get() > timeout_time) { in uart_read_bytes()
|
/Zephyr-Core-3.6.0/samples/basic/hash_map/src/ |
D | main.c | 50 if (k_uptime_get() / MSEC_PER_SEC > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main() 63 if (k_uptime_get() / MSEC_PER_SEC > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main() 75 if (k_uptime_get() / MSEC_PER_SEC > CONFIG_TEST_LIB_HASH_MAP_DURATION_S) { in main()
|
/Zephyr-Core-3.6.0/tests/kernel/sleep/src/ |
D | usleep.c | 75 start_ms = k_uptime_get(); in ZTEST_USER() 81 end_ms = k_uptime_get(); in ZTEST_USER()
|
/Zephyr-Core-3.6.0/samples/boards/esp32/light_sleep/src/ |
D | main.c | 62 int64_t t_before_ms = k_uptime_get(); in main() 73 int64_t t_after_ms = k_uptime_get(); in main()
|
/Zephyr-Core-3.6.0/subsys/net/lib/sntp/ |
D | sntp_simple.c | 42 deadline = k_uptime_get() + (uint64_t)timeout; in sntp_simple() 48 while (k_uptime_get() < deadline) { in sntp_simple()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | tester.c | 49 test_data.old_time = k_uptime_get(); in cb_expect_rpa() 66 diff_ms = k_uptime_get() - test_data.old_time; in cb_expect_rpa() 74 test_data.old_time = k_uptime_get(); in cb_expect_rpa()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/privacy/peripheral/src/ |
D | tester.c | 81 adv_set_data[adv_index].old_time = k_uptime_get(); in test_address() 98 diff_ms = k_uptime_get() - adv_set_data[adv_index].old_time; in test_address() 106 adv_set_data[adv_index].old_time = k_uptime_get(); in test_address()
|
/Zephyr-Core-3.6.0/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 98 uint64_t start_time = k_uptime_get(); in ZTEST() 130 elapsed = k_uptime_get() - start_time; in ZTEST() 186 uint64_t start_time = k_uptime_get(); in ZTEST() 215 elapsed = k_uptime_get() - start_time; in ZTEST()
|
/Zephyr-Core-3.6.0/tests/ztest/ztress/src/ |
D | main.c | 36 d = k_uptime_get(); in ZTEST() 42 d = k_uptime_get() - d; in ZTEST() 53 d = k_uptime_get(); in ZTEST() 56 d = k_uptime_get() - d; in ZTEST()
|
/Zephyr-Core-3.6.0/tests/drivers/regulator/fixed/src/ |
D | main.c | 25 zassert_true(k_uptime_get() >= startup_delay_ms); in ZTEST() 38 init = k_uptime_get(); in ZTEST()
|
/Zephyr-Core-3.6.0/samples/subsys/ipc/ipc_service/icmsg/remote/src/ |
D | main.c | 58 int64_t start = k_uptime_get(); in send_for_time() 60 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/privacy/central/src/ |
D | tester.c | 32 old_time = k_uptime_get(); in scanned_cb() 46 new_time = k_uptime_get(); in scanned_cb()
|
/Zephyr-Core-3.6.0/tests/benchmarks/footprints/src/ |
D | timer.c | 61 tdata.timestamp = k_uptime_get(); in thread_fn() 74 tdata.timestamp = k_uptime_get(); in thread_fn()
|
/Zephyr-Core-3.6.0/tests/kernel/threads/thread_init/src/ |
D | main.c | 66 uint64_t t_delay = k_uptime_get() - t_create; in thread_entry() 155 t_create = k_uptime_get(); in ZTEST_USER() 191 t_create = k_uptime_get(); in ZTEST()
|
/Zephyr-Core-3.6.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | transition.c | 34 now = k_uptime_get(); in calculate_rt() 164 ctl->transition->start_timestamp = k_uptime_get(); in onoff_work_handler() 221 ctl->transition->start_timestamp = k_uptime_get(); in level_lightness_work_handler() 283 ctl->transition->start_timestamp = k_uptime_get(); in level_temp_work_handler() 314 ctl->transition->start_timestamp = k_uptime_get(); in light_lightness_actual_work_handler() 340 ctl->transition->start_timestamp = k_uptime_get(); in light_lightness_linear_work_handler() 366 ctl->transition->start_timestamp = k_uptime_get(); in light_ctl_work_handler() 399 ctl->transition->start_timestamp = k_uptime_get(); in light_ctl_temp_work_handler()
|
/Zephyr-Core-3.6.0/samples/subsys/ipc/ipc_service/icmsg/src/ |
D | main.c | 60 int64_t start = k_uptime_get(); in send_for_time() 62 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
|
/Zephyr-Core-3.6.0/drivers/flash/ |
D | flash_gd32_v2.c | 85 const int64_t expired_time = k_uptime_get() + GD32_NV_FLASH_V2_TIMEOUT; in gd32_fmc_v2_bank0_wait_idle() 88 if (k_uptime_get() > expired_time) { in gd32_fmc_v2_bank0_wait_idle() 200 const int64_t expired_time = k_uptime_get() + GD32_NV_FLASH_V2_TIMEOUT; in gd32_fmc_v2_bank1_wait_idle() 203 if (k_uptime_get() > expired_time) { in gd32_fmc_v2_bank1_wait_idle()
|
D | flash_gd32_v1.c | 54 const int64_t expired_time = k_uptime_get() + GD32_NV_FLASH_V1_TIMEOUT; in gd32_fmc_v1_wait_idle() 57 if (k_uptime_get() > expired_time) { in gd32_fmc_v1_wait_idle()
|
/Zephyr-Core-3.6.0/tests/subsys/pm/power_mgmt_soc/src/ |
D | power_mgmt.c | 65 latency = k_uptime_get() - trigger_time; in pm_latency_check() 137 trigger_time = k_uptime_get(); in pm_trigger_marker() 151 residency_delta = k_uptime_get() - trigger_time; in pm_exit_marker()
|
/Zephyr-Core-3.6.0/tests/posix/eventfd/src/ |
D | stress.c | 65 for (now = k_uptime_get(), end = now + end_ms, report = now + report_ms; now < end; in th_fun() 66 now = k_uptime_get()) { in th_fun()
|
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/ |
D | ipso_timer.c | 118 if (k_uptime_get() < timer->trigger_offset + temp) { in start_timer() 124 timer->trigger_offset = k_uptime_get(); in start_timer() 145 timer->cumulative_time_ms += k_uptime_get() - timer->trigger_offset; in stop_timer() 169 temp -= (k_uptime_get() - timer_data[i].trigger_offset); in remaining_time_read_cb() 193 temp += k_uptime_get() - timer_data[i].trigger_offset; in cumulative_time_read_cb()
|
/Zephyr-Core-3.6.0/tests/kernel/common/src/ |
D | clock.c | 47 t64 = k_uptime_get(); in ZTEST_USER() 48 while (k_uptime_get() < (t64 + 5)) { in ZTEST_USER()
|