Home
last modified time | relevance | path

Searched refs:slice_ticks (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c143 uint32_t slice_ticks = k_ms_to_ticks_ceil32(SLICE_SIZE); in test_slice_reset() local
144 uint32_t half_slice_cyc = k_ticks_to_cyc_ceil32(slice_ticks / 2); in test_slice_reset()
146 __ASSERT(slice_ticks % 2 == 0, in test_slice_reset()
181 k_sleep(K_TICKS(slice_ticks * (NUM_THREAD + 1))); in test_slice_reset()
/Zephyr-Core-2.7.6/kernel/
Dtimeout.c81 if (_current_cpu->slice_ticks && _current_cpu->slice_ticks < ret) { in next_timeout()
82 ret = _current_cpu->slice_ticks; in next_timeout()
140 _current_cpu->slice_ticks != next_time) { in z_add_timeout()
Dsched.c375 _current_cpu->slice_ticks = slice_time + sys_clock_elapsed(); in z_reset_time_slice()
383 _current_cpu->slice_ticks = 0; in k_sched_time_slice_set()
426 if (ticks >= _current_cpu->slice_ticks) { in z_time_slice()
430 _current_cpu->slice_ticks -= ticks; in z_time_slice()
433 _current_cpu->slice_ticks = 0; in z_time_slice()
/Zephyr-Core-2.7.6/include/
Dkernel_structs.h119 int slice_ticks; member