Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/sched/
Dcfs.rs148 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_pcb().cpu_id as usize]; in timer_update_jiffies() localVariable
152 current_cpu_queue.lock.lock(); in timer_update_jiffies()
153 current_cpu_queue.cpu_exec_proc_jiffies -= 1; in timer_update_jiffies()
155 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in timer_update_jiffies()
158 current_cpu_queue.lock.unlock(); in timer_update_jiffies()
192 let current_cpu_queue: &mut CFSQueue = self.cpu_queue[current_cpu_id]; in sched() localVariable
193 let proc: &'static mut process_control_block = current_cpu_queue.dequeue(); in sched()
208 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
209 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
220 if current_cpu_queue.cpu_exec_proc_jiffies <= 0 { in sched()
[all …]