Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/sched/
Dcfs.rs144 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies() localVariable
148 current_cpu_queue.lock.lock(); in timer_update_jiffies()
149 current_cpu_queue.cpu_exec_proc_jiffies -= 1; in timer_update_jiffies()
151 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in timer_update_jiffies()
154 current_cpu_queue.lock.unlock(); in timer_update_jiffies()
189 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched() localVariable
191 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched()
207 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
208 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
219 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
[all …]