Searched refs:k_ms_to_ticks_ceil32 (Results 1 – 21 of 21) sorted by relevance
255 osDelay(k_ms_to_ticks_ceil32(DELAY_MS)); in thread5()321 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()327 osDelay(k_ms_to_ticks_ceil32(DELTA_MS)); in ZTEST()354 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()359 osDelay(k_ms_to_ticks_ceil32(DELTA_MS)); in ZTEST()376 osDelay(k_ms_to_ticks_ceil32(DELAY_MS - DELTA_MS)); in ZTEST()381 osDelay(k_ms_to_ticks_ceil32(DELTA_MS)); in ZTEST()
11 #define PERIOD_TICKS MAX(50, k_ms_to_ticks_ceil32(10))
55 k_ms_to_ticks_ceil32(TASK_SWITCH_TOLERANCE); in thread_time_slice()78 (k_ms_to_ticks_ceil32(SLICE_SIZE) in thread_time_slice()143 uint32_t slice_ticks = k_ms_to_ticks_ceil32(SLICE_SIZE); in ZTEST()
47 int64_t expected_slice_min = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(SLICE_SIZE) - 1); in thread_tslice()48 int64_t expected_slice_max = k_ticks_to_ms_ceil64(k_ms_to_ticks_ceil32(SLICE_SIZE) + 1); in thread_tslice()
127 # define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))131 # define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
49 k_ms_to_ticks_ceil32(MSEC_PER_SEC)); in ZTEST()
372 uint64_t period_ms = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(PERIOD)); in ZTEST_USER()680 uint32_t dur_ticks = k_ms_to_ticks_ceil32(DURATION); in ZTEST_USER()681 uint32_t target_rem_ticks = k_ms_to_ticks_ceil32(DURATION / 2); in ZTEST_USER()
25 (uint32_t)(k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(ONE_SECOND) + _TICK_ALIGN))
193 timeout = k_ms_to_ticks_ceil32(50); in ZTEST()268 timeout = k_ms_to_ticks_ceil32(100); in ZTEST()
227 uint32_t dur = k_ms_to_ticks_ceil32(10); in _test_kernel_cpu_idle()228 uint32_t slop = 1 + k_ms_to_ticks_ceil32(1); in _test_kernel_cpu_idle()
170 timeout = k_ms_to_ticks_ceil32(100); in ZTEST_USER()196 timeout = k_ms_to_ticks_ceil32(50); in ZTEST_USER()
981 + k_ms_to_ticks_ceil32(DELAY_MS)); in ZTEST()1131 + k_ms_to_ticks_ceil32(DELAY_MS)); in ZTEST()1357 + k_ms_to_ticks_ceil32(DELAY_MS)); in ZTEST()1401 + k_ms_to_ticks_ceil32(DELAY_MS)); in ZTEST()
165 print_period = k_ms_to_ticks_ceil32(MSEC_PER_SEC); in udp_upload()
183 if (k_ms_to_ticks_ceil32(diff_ms) == 1) { in test_multiple_threads_pending()
29 k_ms_to_ticks_ceil32(nvme_ctrlr->ready_timeout_in_ms); in nvme_controller_wait_for_ready()
481 ticks = k_ms_to_ticks_ceil32(WAIT_TO_START_MS); in ZTEST_USER()
33 k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(WORK_ITEM_WAIT) + _TICK_ALIGN)
504 #define k_ms_to_ticks_ceil32(t) \ macro
1030 k_ticks_t exp_wait = k_ms_to_ticks_ceil32(wait_ms); in start_threads()1033 zassert_within(t, exp_wait, k_ms_to_ticks_ceil32(20)); in start_threads()
515 slice_ticks = k_ms_to_ticks_ceil32(slice); in k_sched_time_slice_set()
56 For example: :c:func:`k_ms_to_ticks_ceil32` will convert a