Searched refs:LoadWeight (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/sched/ |
H A D | fair.rs | 22 CpuRunQueue, DequeueFlag, EnqueueFlag, LoadWeight, OnRq, SchedPolicy, Scheduler, TaskGroup, 45 pub load: LoadWeight, 187 if unlikely(self.load.weight != LoadWeight::NICE_0_LOAD_SHIFT as u64) { in calculate_delta_fair() 191 .calculate_delta(delta, LoadWeight::NICE_0_LOAD_SHIFT as u64); in calculate_delta_fair() 300 self.avg.load_avg = LoadWeight::scale_load_down(self.load.weight) as usize; in init_entity_runnable_average() 309 load: LoadWeight, 377 load: LoadWeight::default(), in new() 723 se.force_mut().avg.load_avg = LoadWeight::scale_load_down(se.load.weight) as usize in reweight_entity() 762 let weight = LoadWeight::scale_load_down(curr.load.weight); in avg_vruntime() 785 let weight = LoadWeight::scale_load_down(se.load.weight); in avg_vruntime_add() [all …]
|
H A D | pelt.rs | 9 CpuRunQueue, LoadWeight, SchedPolicy, SCHED_CAPACITY_SCALE, SCHED_CAPACITY_SHIFT, 226 .update_load_avg(LoadWeight::scale_load_down(self.load.weight)); in update_load_avg()
|
H A D | mod.rs | 160 pub struct LoadWeight { struct 167 impl LoadWeight { argument
|