Home
last modified time | relevance | path

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

/DragonOS/kernel/src/sched/
H A Dfair.rs300 self.avg.load_avg = LoadWeight::scale_load_down(self.load.weight) as usize; in init_entity_runnable_average()
369 pub load_avg: usize, field
723 se.force_mut().avg.load_avg = LoadWeight::scale_load_down(se.load.weight) as usize in reweight_entity()
906 swap::<usize>(&mut removed_guard.load_avg, &mut removed_load); in update_self_load_avg()
913 sub_positive(&mut self.avg.load_avg, r); in update_self_load_avg()
919 .max((self.avg.load_avg * PELT_MIN_DIVIDER) as u64); in update_self_load_avg()
1219 self.avg.load_avg += se.avg.load_avg; in enqueue_load_avg()
1224 if self.avg.load_avg > se.avg.load_avg { in dequeue_load_avg()
1225 self.avg.load_avg -= se.avg.load_avg; in dequeue_load_avg()
1227 self.avg.load_avg = 0; in dequeue_load_avg()
[all …]
H A Dpelt.rs36 pub load_avg: usize, field
161 self.load_avg = (load * self.load_sum) as usize / divider; in update_load_avg()
184 sa.util_avg /= cfs_rq.avg.load_avg + 1; in post_init_entity_util_avg()