Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/sched/
Dcfs.rs143 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies() localVariable
147 current_cpu_queue.lock.lock(); in timer_update_jiffies()
148 current_cpu_queue.cpu_exec_proc_jiffies -= 1; in timer_update_jiffies()
150 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in timer_update_jiffies()
153 current_cpu_queue.lock.unlock(); in timer_update_jiffies()
188 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched() localVariable
190 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched()
206 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
207 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
218 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
[all …]