Lines Matching full:timestamp
116 u64 timestamp;
213 static void pid_fork(int pid, int ppid, u64 timestamp)
222 p->start_time = timestamp;
224 p->current->start_time = timestamp;
225 p->current->state_since = timestamp;
229 static void pid_exit(int pid, u64 timestamp)
233 p->end_time = timestamp;
235 p->current->end_time = timestamp;
371 static void c_state_start(int cpu, u64 timestamp, int state)
373 cpus_cstate_start_times[cpu] = timestamp;
377 static void c_state_end(int cpu, u64 timestamp)
387 pwr->end_time = timestamp;
395 static void p_state_change(int cpu, u64 timestamp, u64 new_freq)
409 pwr->end_time = timestamp;
420 cpus_pstate_start_times[cpu] = timestamp;
433 sched_wakeup(int cpu, u64 timestamp, int pid, struct trace_entry *te)
444 we->time = timestamp;
456 p->current->state_since = timestamp;
460 pid_put_sample(p->pid, p->current->state, cpu, p->current->state_since, timestamp);
461 p->current->state_since = timestamp;
466 static void sched_switch(int cpu, u64 timestamp, struct trace_entry *te)
477 pid_put_sample(sw->prev_pid, TYPE_RUNNING, cpu, prev_p->current->state_since, timestamp);
480 pid_put_sample(sw->next_pid, p->current->state, cpu, p->current->state_since, timestamp);
482 p->current->state_since = timestamp;
488 prev_p->current->state_since = timestamp;