Home
last modified time | relevance | path

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

/DragonOS/kernel/src/sched/
H A Dfair.rs440 pub fn set_current(&mut self, curr: Weak<FairSchedEntity>) { in set_current()
441 self.current = curr in set_current()
520 pub fn check_preempt_tick(&mut self, curr: Arc<FairSchedEntity>) { in check_preempt_tick()
522 let ideal_runtime = self.sched_slice(curr.clone()); in check_preempt_tick()
524 let delta_exec = curr.sum_exec_runtime - curr.prev_sum_exec_runtime; in check_preempt_tick()
530 self.clear_buddies(&curr); in check_preempt_tick()
550 pub fn entity_tick(&mut self, curr: Arc<FairSchedEntity>, queued: bool) { in entity_tick()
554 self.update_load_avg(&curr, UpdateAvgFlags::UPDATE_TG); in entity_tick()
557 curr.update_cfs_group(); in entity_tick()
567 let curr = self.current(); in update_current() localVariable
[all …]