Lines Matching refs:timestamp
62 u64 timestamp; member
238 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event() argument
244 event->timestamp = timestamp; in get_new_event()
266 u64 timestamp, u64 duration) in add_sched_event_run() argument
280 event = get_new_event(task, timestamp); in add_sched_event_run()
289 u64 timestamp, struct task_desc *wakee) in add_sched_event_wakeup() argument
293 event = get_new_event(task, timestamp); in add_sched_event_wakeup()
316 u64 timestamp, u64 task_state __maybe_unused) in add_sched_event_sleep() argument
318 struct sched_atom *event = get_new_event(task, timestamp); in add_sched_event_sleep()
686 u64 timestamp0, timestamp = sample->time; in replay_switch_event() local
698 delta = timestamp - timestamp0; in replay_switch_event()
713 sched->cpu_last_switched[cpu] = timestamp; in replay_switch_event()
715 add_sched_event_run(sched, prev, timestamp, delta); in replay_switch_event()
716 add_sched_event_sleep(sched, prev, timestamp, prev_state); in replay_switch_event()
847 u64 timestamp) in add_sched_out_event() argument
855 atom->sched_out_time = timestamp; in add_sched_out_event()
868 u64 timestamp __maybe_unused) in add_runtime_event()
881 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) in add_sched_in_event() argument
894 if (timestamp < atom->wake_up_time) { in add_sched_in_event()
900 atom->sched_in_time = timestamp; in add_sched_in_event()
906 atoms->max_lat_at = timestamp; in add_sched_in_event()
921 u64 timestamp0, timestamp = sample->time; in latency_switch_event() local
928 sched->cpu_last_switched[cpu] = timestamp; in latency_switch_event()
930 delta = timestamp - timestamp0; in latency_switch_event()
952 if (add_sched_out_event(out_events, sched_out_state(prev_state), timestamp)) in latency_switch_event()
968 if (add_sched_out_event(in_events, 'R', timestamp)) in latency_switch_event()
971 add_sched_in_event(in_events, timestamp); in latency_switch_event()
985 u64 timestamp = sample->time; in latency_runtime_event() local
997 if (add_sched_out_event(atoms, 'R', timestamp)) in latency_runtime_event()
1001 add_runtime_event(atoms, runtime, timestamp); in latency_runtime_event()
1015 u64 timestamp = sample->time; in latency_wakeup_event() local
1031 if (add_sched_out_event(atoms, 'S', timestamp)) in latency_wakeup_event()
1048 if (atom->sched_out_time > timestamp) { in latency_wakeup_event()
1054 atom->wake_up_time = timestamp; in latency_wakeup_event()
1064 u64 timestamp = sample->time; in latency_migrate_task_event() local
1086 if (add_sched_out_event(atoms, 'R', timestamp)) in latency_migrate_task_event()
1093 atom->sched_in_time = atom->sched_out_time = atom->wake_up_time = timestamp; in latency_migrate_task_event()
1097 if (atom->sched_out_time > timestamp) in latency_migrate_task_event()
1273 u64 timestamp0, timestamp = sample->time; in map_switch_event() local
1283 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1285 delta = timestamp - timestamp0; in map_switch_event()
1334 printf(" %12.6f secs ", (double)timestamp/1e9); in map_switch_event()