Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/sched/
Dcfs.rs45 struct CFSQueue { struct
54 impl CFSQueue { argument
55 pub fn new() -> CFSQueue { in new()
56 CFSQueue { in new()
102 cpu_queue: Vec<&'static mut CFSQueue>,
115 result.cpu_queue.push(Box::leak(Box::new(CFSQueue::new()))); in new()
123 fn update_cpu_exec_proc_jiffies(_priority: i64, cfs_queue: &mut CFSQueue) -> &mut CFSQueue { in update_cpu_exec_proc_jiffies() argument
132 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies()
156 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched()