Searched refs:policy (Results 1 – 6 of 6) sorted by relevance
411 match pcb.sched_info().policy() { in enqueue_task()442 match pcb.sched_info().policy() { in dequeue_task()468 if pcb.sched_info().policy() == self.current().sched_info().policy() { in check_preempt_currnet()469 match self.current().sched_info().policy() { in check_preempt_currnet()477 } else if pcb.sched_info().policy() < self.current().sched_info().policy() { in check_preempt_currnet()661 if likely(prev.sched_info().policy() >= SchedPolicy::CFS) in pick_next_task()677 match prev.sched_info().policy() { in pick_next_task()805 match current.sched_info().policy() { in scheduler_tick()874 && prev.sched_info().policy() != SchedPolicy::IDLE in __schedule()945 let policy = &pcb.sched_info().sched_policy; in sched_fork() localVariable[all …]
163 return self.pcb().sched_info().policy() == SchedPolicy::IDLE; in is_idle()1413 let mut idle_h_nr_running = pcb.sched_info().policy() == SchedPolicy::IDLE; in enqueue()1475 let mut idle_h_nr_running = pcb.sched_info().policy() == SchedPolicy::IDLE; in dequeue()1603 if unlikely(curr.sched_info().policy() == SchedPolicy::IDLE) in check_preempt_currnet()1604 && likely(pcb.sched_info().policy() != SchedPolicy::IDLE) in check_preempt_currnet()1610 if unlikely(pcb.sched_info().policy() != SchedPolicy::CFS) in check_preempt_currnet()1717 || (prev.is_some() && prev.as_ref().unwrap().sched_info().policy() != SchedPolicy::CFS) in pick_next_task()1720 match prev.sched_info().policy() { in pick_next_task()
177 if pcb.sched_info().policy() != SchedPolicy::CFS { in post_init_entity_util_avg()
48 1. policy:实时进程的策略,目前有:SCHED_FIFO与SCHED_RR
174 let priority = sched_info_guard.policy(); in open_status()
1393 pub fn policy(&self) -> crate::sched::SchedPolicy { in policy() method