Home
last modified time | relevance | path

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

/Zephyr-latest/kernel/
Dtimeslicing.c14 static bool slice_expired[CONFIG_MP_MAX_NUM_CPUS]; variable
58 slice_expired[cpu] = true; in slice_timeout()
73 slice_expired[cpu] = false; in z_reset_time_slice()
95 thread->base.slice_expired = expired; in k_thread_time_slice_set()
117 if (slice_expired[_current_cpu->id] && thread_is_sliceable(curr)) { in z_time_slice()
119 if (curr->base.slice_expired) { in z_time_slice()
121 curr->base.slice_expired(curr, curr->base.slice_data); in z_time_slice()
Dthread.c760 thread_base->slice_expired = NULL; in z_init_thread_base()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_slice_scheduling.c149 static void slice_expired(struct k_thread *thread, void *data) in slice_expired() function
195 k_thread_time_slice_set(&t[0], PERTHREAD_SLICE_TICKS, slice_expired, &t[0]); in ZTEST()
/Zephyr-latest/include/zephyr/kernel/
Dthread.h141 k_thread_timeslice_fn_t slice_expired; member