Home
last modified time | relevance | path

Searched refs:k_ticks_to_ms_floor64 (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/tickless/tickless_concept/src/
Dmain.c18 #define SLEEP_TICKLESS k_ticks_to_ms_floor64(IDLE_THRESH)
21 #define SLEEP_TICKFUL k_ticks_to_ms_floor64(IDLE_THRESH - 1)
24 #define SLICE_SIZE k_ticks_to_ms_floor64(IDLE_THRESH >> 1)
27 #define SLICE_SIZE_LIMIT k_ticks_to_ms_floor64((IDLE_THRESH >> 1) + 1)
/Zephyr-Core-2.7.6/tests/kernel/early_sleep/src/
Dmain.c61 k_sleep(K_MSEC(k_ticks_to_ms_floor64(ticks))); in ticks_to_sleep()
106 k_ticks_to_ms_floor64(1000) / 1000U, in test_early_sleep()
107 k_ticks_to_ms_floor64(1000) % 1000, in test_early_sleep()
/Zephyr-Core-2.7.6/tests/kernel/sched/schedule_api/src/
Dtest_slice_scheduling.c44 int64_t expected_slice_min = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(SLICE_SIZE) - 1); in thread_tslice()
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/
Dthread_flags.c92 uint32_t time_delta_ms, timeout_ms = k_ticks_to_ms_floor64(timeout); in osThreadFlagsWait()
/Zephyr-Core-2.7.6/tests/kernel/sleep/src/
Dmain.c25 (uint32_t)(k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(ONE_SECOND) + _TICK_ALIGN))
/Zephyr-Core-2.7.6/tests/kernel/context/src/
Dmain.c382 tms += k_ticks_to_ms_floor64(1); in _test_kernel_cpu_idle()
946 int slop = MAX(k_ticks_to_ms_floor64(2), 1); in thread_sleep()
/Zephyr-Core-2.7.6/tests/kernel/timer/timer_api/src/
Dmain.c374 uint64_t period_ms = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(PERIOD)); in test_timer_periodicity()
707 zassert_true(rem_ms <= (DURATION / 2) + k_ticks_to_ms_floor64(1), in test_timer_remaining()
/Zephyr-Core-2.7.6/tests/kernel/workq/work_queue/src/
Dmain.c29 k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(WORK_ITEM_WAIT) + _TICK_ALIGN)
/Zephyr-Core-2.7.6/include/sys/
Dtime_units.h1097 static TIME_CONSTEXPR inline uint64_t k_ticks_to_ms_floor64(uint64_t t) in k_ticks_to_ms_floor64() function
/Zephyr-Core-2.7.6/kernel/
Dsched.c1331 int32_t ret = k_ticks_to_ms_floor64(ticks); in z_impl_k_sleep()
/Zephyr-Core-2.7.6/include/
Dkernel.h1579 return k_ticks_to_ms_floor64(k_uptime_ticks()); in k_uptime_get()