Searched refs:SCHED_RR (Results 1 – 5 of 5) sorted by relevance
34 3. SCHED_RR 策略:35 SCHED_RR是“实时进程调度策略”,使用的是时间片轮转机制,对应进程的time_slice会在运行时减少,进程使用完CPU时间片后,会加入该CPU的与该进程优先级相同的执行队列中。48 1. policy:实时进程的策略,目前有:SCHED_FIFO与SCHED_RR
11 #define SCHED_RR 2 macro
12 SCHED_FIFO, 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()
8 process_control_block, MAX_CPU_NUM, PF_NEED_SCHED, SCHED_FIFO, SCHED_RR,186 else if proc.policy == SCHED_RR { in sched()
527 rt_pcb->policy = SCHED_RR; in process_init_rt_pcb()