Searched refs:CFSQueue (Results 1 – 2 of 2) sorted by relevance
39 struct CFSQueue { struct50 impl CFSQueue { argument51 pub fn new(idle_pcb: *mut process_control_block) -> CFSQueue { in new() argument52 CFSQueue { in new()114 cpu_queue: Vec<&'static mut CFSQueue>,129 .push(Box::leak(Box::new(CFSQueue::new(null_mut())))); in new()139 fn update_cpu_exec_proc_jiffies(_priority: i64, cfs_queue: &mut CFSQueue) -> &mut CFSQueue { in update_cpu_exec_proc_jiffies() argument148 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()192 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()
5 ## 1. CFSQueue 介绍7    CFSQueue是用来存放普通进程的调度队列,每个CPU维护一个RTQueue,主要使用Vec作为主要存储结构来实现。