Lines Matching refs:timestamp
130 u64 timestamp; member
242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
251 p->start_time = timestamp; in pid_fork()
253 p->current->start_time = timestamp; in pid_fork()
254 p->current->state_since = timestamp; in pid_fork()
258 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) in pid_exit() argument
262 p->end_time = timestamp; in pid_exit()
264 p->current->end_time = timestamp; in pid_exit()
347 static void c_state_start(int cpu, u64 timestamp, int state) in c_state_start() argument
349 cpus_cstate_start_times[cpu] = timestamp; in c_state_start()
353 static void c_state_end(struct timechart *tchart, int cpu, u64 timestamp) in c_state_end() argument
362 pwr->end_time = timestamp; in c_state_end()
370 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) in p_state_change() argument
383 pwr->end_time = timestamp; in p_state_change()
394 cpus_pstate_start_times[cpu] = timestamp; in p_state_change()
406 static void sched_wakeup(struct timechart *tchart, int cpu, u64 timestamp, in sched_wakeup() argument
415 we->time = timestamp; in sched_wakeup()
428 p->current->state_since = timestamp; in sched_wakeup()
433 p->current->state_since, timestamp, NULL); in sched_wakeup()
434 p->current->state_since = timestamp; in sched_wakeup()
439 static void sched_switch(struct timechart *tchart, int cpu, u64 timestamp, in sched_switch() argument
451 prev_p->current->state_since, timestamp, in sched_switch()
456 p->current->state_since, timestamp, in sched_switch()
459 p->current->state_since = timestamp; in sched_switch()
465 prev_p->current->state_since = timestamp; in sched_switch()