Home
last modified time | relevance | path

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

/DragonOS/kernel/src/sched/
H A Dmod.rs164 pub inv_weight: u32, field
178 self.inv_weight = 0; in update_load_add()
183 self.inv_weight = 0; in update_load_sub()
188 self.inv_weight = 0; in update_load_set()
194 if likely(self.inv_weight != 0) { in update_inv_weight()
202 self.inv_weight = 1; in update_inv_weight()
205 self.inv_weight = Self::WMULT_CONST; in update_inv_weight()
208 self.inv_weight = Self::WMULT_CONST / w as u32; in update_inv_weight()
237 fact *= self.inv_weight as u64; in calculate_delta()