Searched refs:delta_exec (Results 1 – 2 of 2) sorted by relevance
524 let delta_exec = curr.sum_exec_runtime - curr.prev_sum_exec_runtime; in check_preempt_tick() localVariable526 if delta_exec > ideal_runtime { in check_preempt_tick()534 if delta_exec < SYSCTL_SHCED_MIN_GRANULARITY.load(Ordering::SeqCst) { in check_preempt_tick()585 let delta_exec = now - curr.exec_start; in update_current() localVariable591 curr.sum_exec_runtime += delta_exec; in update_current()594 curr.vruntime += curr.calculate_delta_fair(delta_exec); in update_current()599 self.account_cfs_rq_runtime(delta_exec); in update_current()603 fn account_cfs_rq_runtime(&mut self, delta_exec: u64) { in account_cfs_rq_runtime()604 if likely(self.runtime_remaining > delta_exec) { in account_cfs_rq_runtime()605 self.runtime_remaining -= delta_exec; in account_cfs_rq_runtime()
215 pub fn calculate_delta(&mut self, delta_exec: u64, weight: u64) -> u64 { in calculate_delta()251 return ((delta_exec as u128 * fact as u128) >> shift) as u64; in calculate_delta()