Home
last modified time | relevance | path

Searched refs:k_ms_to_ticks_ceil32 (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.6.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_apis.c255 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()
Dtimer.c11 #define PERIOD_TICKS MAX(50, k_ms_to_ticks_ceil32(10))
/Zephyr-Core-3.6.0/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c55 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()
Dtest_slice_scheduling.c47 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()
/Zephyr-Core-3.6.0/include/zephyr/
Dsys_clock.h127 # 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)))
/Zephyr-Core-3.6.0/tests/kernel/timer/starve/src/
Dmain.c49 k_ms_to_ticks_ceil32(MSEC_PER_SEC)); in ZTEST()
/Zephyr-Core-3.6.0/tests/kernel/timer/timer_api/src/
Dmain.c372 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()
/Zephyr-Core-3.6.0/tests/kernel/sleep/src/
Dmain.c25 (uint32_t)(k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(ONE_SECOND) + _TICK_ALIGN))
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/futex/src/
Dmain.c193 timeout = k_ms_to_ticks_ceil32(50); in ZTEST()
268 timeout = k_ms_to_ticks_ceil32(100); in ZTEST()
/Zephyr-Core-3.6.0/tests/kernel/context/src/
Dmain.c227 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()
/Zephyr-Core-3.6.0/tests/kernel/condvar/condvar_api/src/
Dmain.c170 timeout = k_ms_to_ticks_ceil32(100); in ZTEST_USER()
196 timeout = k_ms_to_ticks_ceil32(50); in ZTEST_USER()
/Zephyr-Core-3.6.0/tests/kernel/workq/work/src/
Dmain.c981 + 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()
/Zephyr-Core-3.6.0/subsys/net/lib/zperf/
Dzperf_udp_uploader.c165 print_period = k_ms_to_ticks_ceil32(MSEC_PER_SEC); in udp_upload()
/Zephyr-Core-3.6.0/tests/kernel/fifo/fifo_timeout/src/
Dmain.c183 if (k_ms_to_ticks_ceil32(diff_ms) == 1) { in test_multiple_threads_pending()
/Zephyr-Core-3.6.0/drivers/disk/nvme/
Dnvme_controller.c29 k_ms_to_ticks_ceil32(nvme_ctrlr->ready_timeout_in_ms); in nvme_controller_wait_for_ready()
/Zephyr-Core-3.6.0/tests/kernel/threads/thread_apis/src/
Dmain.c481 ticks = k_ms_to_ticks_ceil32(WAIT_TO_START_MS); in ZTEST_USER()
/Zephyr-Core-3.6.0/tests/kernel/workq/work_queue/src/
Dmain.c33 k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(WORK_ITEM_WAIT) + _TICK_ALIGN)
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dtime_units.h504 #define k_ms_to_ticks_ceil32(t) \ macro
/Zephyr-Core-3.6.0/tests/lib/mpsc_pbuf/src/
Dmain.c1030 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()
/Zephyr-Core-3.6.0/kernel/
Dsched.c515 slice_ticks = k_ms_to_ticks_ceil32(slice); in k_sched_time_slice_set()
/Zephyr-Core-3.6.0/doc/kernel/services/timing/
Dclocks.rst56 For example: :c:func:`k_ms_to_ticks_ceil32` will convert a