Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/kernel/src/sched/
Dsched.h11 #define SCHED_RR 2 macro
Dcore.rs12 SCHED_NORMAL, SCHED_RR,
136 } else if pcb.policy == SCHED_FIFO || pcb.policy == SCHED_RR { in sched_enqueue()
162 SCHED_FIFO | SCHED_RR => { in sched_update_jiffies()
Drt.rs8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,
191 else if proc.policy == SCHED_RR { in sched()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.c542 rt_pcb->policy = SCHED_RR; in process_init_rt_pcb()