Home
last modified time | relevance | path

Searched refs:k_uptime_delta (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/subsys/testsuite/include/zephyr/
Dtimestamp.h75 timestamp_check = k_uptime_delta(&timestamp_check); in bench_test_start()
82 timestamp_check = k_uptime_delta(&timestamp_check); in bench_test_end()
/Zephyr-latest/tests/kernel/tickless/tickless_concept/src/
Dmain.c42 int64_t t = k_uptime_delta(&elapsed_slice); in thread_tslice()
111 k_uptime_delta(&elapsed_slice); in ZTEST()
/Zephyr-latest/tests/kernel/common/src/
Dclock.c64 d64 = k_uptime_delta(&d64); in ZTEST_USER()
65 while (k_uptime_delta(&d64) == 0) { in ZTEST_USER()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_slice_scheduling.c59 int64_t tdelta = k_uptime_delta(&elapsed_slice); in thread_tslice()
117 k_uptime_delta(&elapsed_slice); in ZTEST()
/Zephyr-latest/tests/drivers/regulator/fixed/src/
Dmain.c41 zassert_true(k_uptime_delta(&init) >= off_on_delay_ms); in ZTEST()
/Zephyr-latest/samples/boards/microchip/mec15xxevb_assy6853/power_management/src/
Dpower_mgmt.c77 latency = k_uptime_delta(&trigger_time); in pm_latency_check()
186 residency_delta = k_uptime_delta(&trigger_time); in pm_exit_marker()
/Zephyr-latest/tests/kernel/mem_slab/mslab_api/src/
Dtest_mslab_api.c97 zassert_true(k_uptime_delta(&tms) >= TIMEOUT); in tmslab_alloc_timeout()
101 zassert_true(k_uptime_delta(&tms) < TIMEOUT); in tmslab_alloc_timeout()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_access.c544 int32_t time_delta = k_uptime_delta(&timestamp); in pub_delayable_check()
593 int32_t time_delta = k_uptime_delta(&timestamp); in recv_delayable_check()
631 int32_t time_delta = k_uptime_delta(&timestamp); in pub_jitter_check()
667 int32_t time_delta = k_uptime_delta(&timestamp); in recv_jitter_check()
916 int32_t time_delta = k_uptime_delta(&timestamp); in test_tx_cancel()
964 int32_t time_delta = k_uptime_delta(&timestamp); in test_rx_cancel()
Dtest_scanner.c105 LOG_DBG("Advertising stopped (%u ms)", (uint32_t) k_uptime_delta(&st)); in test_tx_send_ad_type_msg()
Dtest_advertiser.c92 int64_t delta = k_uptime_delta(&timestamp); in check_delta_time()
120 delta = k_uptime_delta(&tx_timestamp); in single_start_cb()
133 delta = k_uptime_delta(&tx_timestamp); in single_end_cb()
Dtest_suspend.c77 if (SUSPEND_DURATION * 1000ll <= k_uptime_delta(&uptime)) { in msg_handler()
Dmesh_test.c529 LOG_INF("Sending completed (%lld ms)", k_uptime_delta(&uptime)); in bt_mesh_test_send()
/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c324 delta = k_uptime_delta(&timestamp); in ZTEST_USER_F()
363 delta = k_uptime_delta(&timestamp); in ZTEST_USER_F()
393 delta = k_uptime_delta(&timestamp); in ZTEST_USER_F()
/Zephyr-latest/samples/net/sockets/coap_download/src/
Dmain.c40 int64_t elapsed_time = k_uptime_delta(&start_time); in on_coap_response()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_common.c41 return (int64_t) k_uptime_delta(&tmp); in osdp_millis_since()
/Zephyr-latest/drivers/flash/
Dflash_shell.c402 loop_time = k_uptime_delta(&start_time); in cmd_read_test()
450 loop_time = k_uptime_delta(&start_time); in cmd_write_test()
498 loop_time = k_uptime_delta(&start_time); in cmd_erase_test()
548 loop_time = k_uptime_delta(&start_time); in cmd_erase_write_test()
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c409 if (k_uptime_delta(&a_timestamp) < 100) { in button_pressed()
415 if (k_uptime_delta(&b_timestamp) < 100) { in button_pressed()
/Zephyr-latest/samples/modules/canopennode/src/
Dmain.c288 elapsed = (uint32_t)k_uptime_delta(&timestamp); in main()
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv_legacy.c121 LOG_DBG("Advertising stopped (%u ms)", (uint32_t) k_uptime_delta(&uptime)); in bt_data_send()
Dpb_gatt_srv.c290 int64_t elapsed_time = k_uptime_delta(&timestamp); in bt_mesh_pb_gatt_srv_adv_start()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c116 int64_t interval = k_uptime_delta(&tdata.timestamp); in duration_expire()
400 delta = k_uptime_delta(&tdata.timestamp); in ZTEST_USER()
/Zephyr-latest/subsys/fs/
Dshell.c631 loop_time = k_uptime_delta(&start_time); in cmd_read_test()
739 loop_time = k_uptime_delta(&start_time); in cmd_erase_write_test()
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c99 time_stamp_delta = k_uptime_delta(&time_stamp_ref); in smp_client_transport_work_fn()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c298 milliseconds_spent = k_uptime_delta(&time_stamp); in ZTEST()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dblob.c197 int64_t duration = k_uptime_delta(&blob_time); in blob_srv_end()

12