Lines Matching refs:timestamp
128 u64 timestamp; member
240 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
249 p->start_time = timestamp; in pid_fork()
251 p->current->start_time = timestamp; in pid_fork()
252 p->current->state_since = timestamp; in pid_fork()
256 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) in pid_exit() argument
260 p->end_time = timestamp; in pid_exit()
262 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(struct timechart *tchart, int cpu, u64 timestamp) in c_state_end() argument
360 pwr->end_time = timestamp; in c_state_end()
368 static void p_state_change(struct timechart *tchart, 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()
404 static void sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, in sched_wakeup() argument
413 we->time = timestamp; in sched_wakeup()
426 p->current->state_since = timestamp; in sched_wakeup()
431 p->current->state_since, timestamp, NULL); in sched_wakeup()
432 p->current->state_since = timestamp; in sched_wakeup()
437 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, in sched_switch() argument
449 prev_p->current->state_since, timestamp, in sched_switch()
454 p->current->state_since, timestamp, in sched_switch()
457 p->current->state_since = timestamp; in sched_switch()
463 prev_p->current->state_since = timestamp; in sched_switch()