Home
last modified time | relevance | path

Searched refs:diff_ms (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/privacy/legacy/src/
Dtester.c40 int64_t diff_ms, rpa_timeout_ms; in cb_expect_rpa() local
66 diff_ms = k_uptime_get() - test_data.old_time; in cb_expect_rpa()
69 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in cb_expect_rpa()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/privacy/peripheral/src/
Dtester.c60 int64_t diff_ms, rpa_timeout_ms; in test_address() local
82 diff_ms = k_uptime_get() - adv_set_data[adv_index].old_time; in test_address()
85 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in test_address()
/Zephyr-Core-3.5.0/tests/kernel/fifo/fifo_timeout/src/
Dmain.c142 uint32_t diff_ms; in test_multiple_threads_pending() local
178 diff_ms = data->timeout - test_data[j].timeout; in test_multiple_threads_pending()
180 diff_ms = test_data[j].timeout - data->timeout; in test_multiple_threads_pending()
183 if (k_ms_to_ticks_ceil32(diff_ms) == 1) { in test_multiple_threads_pending()