D | sched-migration.py | 333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, argument 338 on_cpu_task = self.current_tsk[headers.cpu] 342 headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid) 346 self.current_tsk[headers.cpu] = next_pid 348 ts = self.timeslices.get_time_slice(headers.ts()) 349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu) 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 352 ts = self.timeslices.get_time_slice(headers.ts()) 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 358 ts = self.timeslices.get_time_slice(headers.ts()) [all …]
|