Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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-3.7.0/tests/kernel/early_sleep/src/
Dmain.c61 k_sleep(K_MSEC(k_ticks_to_ms_floor64(ticks))); in ticks_to_sleep()
104 k_ticks_to_ms_floor64(1000) / 1000U, in ZTEST()
105 k_ticks_to_ms_floor64(1000) % 1000, in ZTEST()
/Zephyr-Core-3.7.0/tests/subsys/pm/power_mgmt_multicore/src/
Dmain.c67 int32_t msecs = k_ticks_to_ms_floor64(ticks); in pm_policy_next_state()
/Zephyr-Core-3.7.0/subsys/portability/cmsis_rtos_v2/
Dthread_flags.c91 uint32_t time_delta_ms, timeout_ms = k_ticks_to_ms_floor64(timeout); in osThreadFlagsWait()
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Ddhcpv4.c117 return k_ticks_to_ms_floor64(timeout.ticks) / 1000; in timepoint_to_s()
/Zephyr-Core-3.7.0/tests/kernel/sched/schedule_api/src/
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()
/Zephyr-Core-3.7.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.7.0/tests/kernel/context/src/
Dmain.c280 tms += k_ticks_to_ms_floor64(1); in _test_kernel_cpu_idle()
885 int slop = MAX(k_ticks_to_ms_floor64(2), 1); in thread_sleep()
/Zephyr-Core-3.7.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()
705 zassert_true(rem_ms <= (DURATION / 2) + k_ticks_to_ms_floor64(1), in ZTEST_USER()
/Zephyr-Core-3.7.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.7.0/include/zephyr/sys/
Dtime_units.h1717 #define k_ticks_to_ms_floor64(t) \ macro
/Zephyr-Core-3.7.0/include/zephyr/
Dkernel.h1830 return k_ticks_to_ms_floor64(k_uptime_ticks()); in k_uptime_get()