Lines Matching refs:timestamp
110 u64 timestamp; member
205 static void pid_fork(int pid, int ppid, u64 timestamp) in pid_fork() argument
214 p->start_time = timestamp; in pid_fork()
216 p->current->start_time = timestamp; in pid_fork()
217 p->current->state_since = timestamp; in pid_fork()
221 static void pid_exit(int pid, u64 timestamp) in pid_exit() argument
225 p->end_time = timestamp; in pid_exit()
227 p->current->end_time = timestamp; in pid_exit()
345 static void c_state_start(int cpu, u64 timestamp, int state) in c_state_start() argument
347 cpus_cstate_start_times[cpu] = timestamp; in c_state_start()
351 static void c_state_end(int cpu, u64 timestamp) in c_state_end() argument
360 pwr->end_time = timestamp; in c_state_end()
368 static void p_state_change(int cpu, u64 timestamp, u64 new_freq) in p_state_change() argument
381 pwr->end_time = timestamp; in p_state_change()
392 cpus_pstate_start_times[cpu] = timestamp; in p_state_change()
405 sched_wakeup(int cpu, u64 timestamp, int pid, struct trace_entry *te) in sched_wakeup() argument
414 we->time = timestamp; in sched_wakeup()
426 p->current->state_since = timestamp; in sched_wakeup()
430 pid_put_sample(p->pid, p->current->state, cpu, p->current->state_since, timestamp); in sched_wakeup()
431 p->current->state_since = timestamp; in sched_wakeup()
436 static void sched_switch(int cpu, u64 timestamp, struct trace_entry *te) in sched_switch() argument
447 pid_put_sample(sw->prev_pid, TYPE_RUNNING, cpu, prev_p->current->state_since, timestamp); in sched_switch()
450 pid_put_sample(sw->next_pid, p->current->state, cpu, p->current->state_since, timestamp); in sched_switch()
452 p->current->state_since = timestamp; in sched_switch()
458 prev_p->current->state_since = timestamp; in sched_switch()