Searched refs:update_load_avg (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/sched/ |
H A D | pelt.rs | 158 pub fn update_load_avg(&mut self, load: u64) { in update_load_avg() method 218 pub fn update_load_avg(&mut self, cfs_rq: &mut CfsRunQueue, now: u64) -> bool { in update_load_avg() method 226 .update_load_avg(LoadWeight::scale_load_down(self.load.weight)); in update_load_avg()
|
H A D | fair.rs | 554 self.update_load_avg(&curr, UpdateAvgFlags::UPDATE_TG); in entity_tick() 848 fn update_load_avg(&mut self, se: &Arc<FairSchedEntity>, flags: UpdateAvgFlags) { in update_load_avg() method 852 se.force_mut().update_load_avg(self, now); in update_load_avg() 959 self.avg.update_load_avg(1); in __update_load_avg() 981 self.update_load_avg(se, UpdateAvgFlags::UPDATE_TG | UpdateAvgFlags::DO_ATTACH); in enqueue_entity() 1018 self.update_load_avg(se, action); in dequeue_entity() 1072 self.update_load_avg(se, UpdateAvgFlags::UPDATE_TG); in set_next_entity() 1446 cfs_rq.update_load_avg(&se, UpdateAvgFlags::UPDATE_TG); in enqueue() 1515 cfs_rq.update_load_avg(&se, UpdateAvgFlags::UPDATE_TG); in dequeue()
|