Searched refs:priority (Results 1 – 9 of 9) sorted by relevance
162 self.cpu_queue[pcb.cpu_id as usize][pcb.priority as usize].enqueue_front(pcb); in enqueue_front()179 if proc.priority <= current_pcb().priority { in sched()191 if proc.priority >= current_pcb().priority { in sched()
207 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()219 SchedulerCFS::update_cpu_exec_proc_jiffies(proc.priority, current_cpu_queue); in sched()
14 fn priority(&self) -> i32; in priority() method46 if block.priority() > b.priority() { in register()51 if block.priority() == b.priority() && unique_priority { in register()
49 2. priority: 实时进程的优先级,范围为0-99,数字越大,表示优先级越高
106 long priority; // 优先级 member
58 ….thread = &initial_thread, .addr_limit = 0xffffffffffffffff, .pid = 0, .priority = 2, …161 rt_pcb->priority = 10; in process_init_rt_pcb()
75 tsk->priority = 2; in do_fork()
182 current_pcb->priority = 2; in smp_ap_start()
157 &mut format!("\npriority:\t{}", pcb.priority) in open_status()