Searched refs:k_ticks_to_ms_floor64 (Results 1 – 12 of 12) sorted by relevance
18 #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)
61 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()
67 int32_t msecs = k_ticks_to_ms_floor64(ticks); in pm_policy_next_state()
91 uint32_t time_delta_ms, timeout_ms = k_ticks_to_ms_floor64(timeout); in osThreadFlagsWait()
117 return k_ticks_to_ms_floor64(timeout.ticks) / 1000; in timepoint_to_s()
47 int64_t expected_slice_min = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(SLICE_SIZE) - 1); in thread_tslice()
25 (uint32_t)(k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(ONE_SECOND) + _TICK_ALIGN))
280 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()
372 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()
33 k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(WORK_ITEM_WAIT) + _TICK_ALIGN)
1717 #define k_ticks_to_ms_floor64(t) \ macro
1830 return k_ticks_to_ms_floor64(k_uptime_ticks()); in k_uptime_get()