Home
last modified time | relevance | path

Searched refs:SCHED_RR (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/docs/kernel/sched/
Drt.md34 3. SCHED_RR 策略:
35 SCHED_RR是“实时进程调度策略”,使用的是时间片轮转机制,对应进程的time_slice会在运行时减少,进程使用完CPU时间片后,会加入该CPU的与该进程优先级相同的执行队列中。
48 1. policy:实时进程的策略,目前有:SCHED_FIFO与SCHED_RR
/DragonOS-0.1.8/kernel/src/sched/
Dsched.h11 #define SCHED_RR 2 macro
Dcore.rs8 SCHED_NORMAL, SCHED_RR,
133 } else if pcb.policy == SCHED_FIFO || pcb.policy == SCHED_RR { in sched_enqueue()
161 SCHED_FIFO | SCHED_RR => { in sched_update_jiffies()
Drt.rs8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,
189 else if proc.policy == SCHED_RR { in sched()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.c162 rt_pcb->policy = SCHED_RR; in process_init_rt_pcb()