/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/samples/boards/espressif/light_sleep/src/ |
D | main.c | 63 int64_t t_before_ms = k_uptime_get(); in main() 74 int64_t t_after_ms = k_uptime_get(); in main()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_npcx.c | 104 st = k_uptime_get(); in wdt_t0out_reload() 106 if (k_uptime_get() - st > NPCX_T0CSR_RST_TIMEOUT) { in wdt_t0out_reload() 123 st = k_uptime_get(); in wdt_wait_stopped() 126 if (k_uptime_get() - st > NPCX_WATCHDOG_STOP_TIMEOUT) { in wdt_wait_stopped() 296 while (k_uptime_get() - data->last_watchdog_touch < min_wnd_t) { in wdt_npcx_disable() 324 data->last_watchdog_touch = k_uptime_get(); in wdt_npcx_feed()
|
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/ |
D | main.c | 76 int64_t start = k_uptime_get(); in send_for_time() 78 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time() 109 while ((recv_sem != 0) && ((k_uptime_get() - start) < sending_time_ms)) { in send_for_time()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | tester.c | 50 test_data.old_time = k_uptime_get(); in cb_expect_rpa() 67 diff_ms = k_uptime_get() - test_data.old_time; in cb_expect_rpa() 75 test_data.old_time = k_uptime_get(); in cb_expect_rpa()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/ |
D | tester_rpa_expired.c | 48 adv_set_data[adv_index].old_time = k_uptime_get(); in test_address() 52 diff_ms = k_uptime_get() - adv_set_data[adv_index].old_time; in test_address() 96 adv_set_data[adv_index].old_time = k_uptime_get(); in test_address()
|
D | tester_rpa_rotation.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()
|
D | dut_rpa_expired.c | 49 diff_ms = k_uptime_get() - old_time; in rpa_expired_cb() 54 old_time = k_uptime_get(); in rpa_expired_cb()
|
/Zephyr-latest/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-latest/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-latest/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-latest/samples/subsys/ipc/ipc_service/icmsg/src/ |
D | main.c | 80 int64_t start = k_uptime_get(); in send_for_time() 82 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time() 113 while ((recv_sem != 0) && ((k_uptime_get() - start) < sending_time_ms)) { in send_for_time()
|
/Zephyr-latest/samples/boards/nordic/clock_control/src/ |
D | main.c | 67 req_start_uptime = k_uptime_get(); in main() 80 req_stop_uptime = k_uptime_get(); in main()
|
/Zephyr-latest/subsys/net/lib/sntp/ |
D | sntp_simple.c | 29 deadline = k_uptime_get() + (uint64_t)timeout; in sntp_simple_helper() 36 while (k_uptime_get() < deadline) { in sntp_simple_helper()
|
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/ |
D | dut.c | 101 int64_t old_time = k_uptime_get(); in dut_procedure_connect_timeout() 108 int64_t new_time = k_uptime_get(); in dut_procedure_connect_timeout()
|
/Zephyr-latest/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-latest/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-latest/modules/mbedtls/ |
D | zephyr_init.c | 81 return (mbedtls_ms_time_t)k_uptime_get(); in mbedtls_ms_time()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | transition.c | 32 now = k_uptime_get(); in calculate_rt() 162 ctl->transition->start_timestamp = k_uptime_get(); in onoff_work_handler() 219 ctl->transition->start_timestamp = k_uptime_get(); in level_lightness_work_handler() 281 ctl->transition->start_timestamp = k_uptime_get(); in level_temp_work_handler() 312 ctl->transition->start_timestamp = k_uptime_get(); in light_lightness_actual_work_handler() 338 ctl->transition->start_timestamp = k_uptime_get(); in light_lightness_linear_work_handler() 364 ctl->transition->start_timestamp = k_uptime_get(); in light_ctl_work_handler() 397 ctl->transition->start_timestamp = k_uptime_get(); in light_ctl_temp_work_handler()
|
/Zephyr-latest/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-latest/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()
|