Searched refs:weight (Results 1 – 3 of 3) sorted by relevance
187 if unlikely(self.load.weight != LoadWeight::NICE_0_LOAD_SHIFT as u64) { in calculate_delta_fair()207 if unlikely(self.load.weight != shares) { in update_cfs_group()300 self.avg.load_avg = LoadWeight::scale_load_down(self.load.weight) as usize; in init_entity_runnable_average()496 se.cfs_rq().force_mut().load.update_load_add(se.load.weight); in sched_slice()502 .calculate_delta(slice, se.load.weight); in sched_slice()694 pub fn reweight_entity(&mut self, se: Arc<FairSchedEntity>, weight: u64) { in reweight_entity()709 self.load.update_load_sub(se.load.weight); in reweight_entity()715 se.force_mut().vlag = se.vlag * se.load.weight as i64 / weight as i64; in reweight_entity()717 self.reweight_eevdf(&se, weight); in reweight_entity()719 se.force_mut().load.update_load_set(weight); in reweight_entity()[all …]
162 pub weight: u64, field177 self.weight += inc; in update_load_add()182 self.weight -= dec; in update_load_sub()186 pub fn update_load_set(&mut self, weight: u64) { in update_load_set()187 self.weight = weight; in update_load_set()198 let w = Self::scale_load_down(self.weight); in update_inv_weight()215 pub fn calculate_delta(&mut self, delta_exec: u64, weight: u64) -> u64 { in calculate_delta()217 let mut fact = Self::scale_load_down(weight); in calculate_delta()255 pub const fn scale_load_down(mut weight: u64) -> u64 { in scale_load_down()256 if weight != 0 { in scale_load_down()[all …]
183 sa.util_avg = cfs_rq.avg.util_avg * se.load.weight as usize; in post_init_entity_util_avg()226 .update_load_avg(LoadWeight::scale_load_down(self.load.weight)); in update_load_avg()