Lines Matching refs:timestamp
64 u64 timestamp; member
240 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event() argument
246 event->timestamp = timestamp; in get_new_event()
268 u64 timestamp, u64 duration) in add_sched_event_run() argument
282 event = get_new_event(task, timestamp); in add_sched_event_run()
291 u64 timestamp, struct task_desc *wakee) in add_sched_event_wakeup() argument
295 event = get_new_event(task, timestamp); in add_sched_event_wakeup()
318 u64 timestamp, u64 task_state __maybe_unused) in add_sched_event_sleep() argument
320 struct sched_atom *event = get_new_event(task, timestamp); in add_sched_event_sleep()
724 u64 timestamp0, timestamp = sample->time; in replay_switch_event() local
736 delta = timestamp - timestamp0; in replay_switch_event()
751 sched->cpu_last_switched[cpu] = timestamp; in replay_switch_event()
753 add_sched_event_run(sched, prev, timestamp, delta); in replay_switch_event()
754 add_sched_event_sleep(sched, prev, timestamp, prev_state); in replay_switch_event()
885 u64 timestamp) in add_sched_out_event() argument
893 atom->sched_out_time = timestamp; in add_sched_out_event()
906 u64 timestamp __maybe_unused) in add_runtime_event()
919 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) in add_sched_in_event() argument
932 if (timestamp < atom->wake_up_time) { in add_sched_in_event()
938 atom->sched_in_time = timestamp; in add_sched_in_event()
944 atoms->max_lat_at = timestamp; in add_sched_in_event()
959 u64 timestamp0, timestamp = sample->time; in latency_switch_event() local
966 sched->cpu_last_switched[cpu] = timestamp; in latency_switch_event()
968 delta = timestamp - timestamp0; in latency_switch_event()
990 if (add_sched_out_event(out_events, sched_out_state(prev_state), timestamp)) in latency_switch_event()
1006 if (add_sched_out_event(in_events, 'R', timestamp)) in latency_switch_event()
1009 add_sched_in_event(in_events, timestamp); in latency_switch_event()
1023 u64 timestamp = sample->time; in latency_runtime_event() local
1035 if (add_sched_out_event(atoms, 'R', timestamp)) in latency_runtime_event()
1039 add_runtime_event(atoms, runtime, timestamp); in latency_runtime_event()
1052 u64 timestamp = sample->time; in latency_wakeup_event() local
1064 if (add_sched_out_event(atoms, 'S', timestamp)) in latency_wakeup_event()
1087 if (atom->sched_out_time > timestamp) { in latency_wakeup_event()
1093 atom->wake_up_time = timestamp; in latency_wakeup_event()
1103 u64 timestamp = sample->time; in latency_migrate_task_event() local
1125 if (add_sched_out_event(atoms, 'R', timestamp)) in latency_migrate_task_event()
1132 atom->sched_in_time = atom->sched_out_time = atom->wake_up_time = timestamp; in latency_migrate_task_event()
1136 if (atom->sched_out_time > timestamp) in latency_migrate_task_event()
1311 u64 timestamp0, timestamp = sample->time; in map_switch_event() local
1321 sched->cpu_last_switched[this_cpu] = timestamp; in map_switch_event()
1323 delta = timestamp - timestamp0; in map_switch_event()
1376 printf(" %12.6f secs ", (double)timestamp/1e9); in map_switch_event()