Lines Matching refs:old_rq
175 def __update_total_load(self, old_rq, new_rq): argument
176 diff = new_rq.load() - old_rq.load()
180 old_rq = self.prev.rqs[cpu]
181 new_rq = old_rq.sched_switch(prev, prev_state, next)
183 if old_rq is new_rq:
187 self.__update_total_load(old_rq, new_rq)
194 old_rq = self.prev.rqs[old_cpu]
195 out_rq = old_rq.migrate_out(new)
197 self.__update_total_load(old_rq, out_rq)
206 if old_rq is not out_rq:
211 old_rq = self.prev.rqs[cpu]
213 new_rq = old_rq.wake_up_new(pid)
215 new_rq = old_rq.wake_up(pid)
217 if new_rq is old_rq:
220 self.__update_total_load(old_rq, new_rq)