Searched refs:evtime (Results 1 – 2 of 2) sorted by relevance
61 if (evtime) {62 - if (!evtime->tv_sec)63 - *evtime = ev->time;64 - usec = 1000000L * (ev->time.tv_sec - evtime->tv_sec);65 - usec += ev->time.tv_usec - evtime->tv_usec;66 + if (!evtime->tv_sec) {67 + evtime->tv_sec = ev->input_event_sec;68 + evtime->tv_usec = ev->input_event_usec;70 + usec = (ev->input_event_sec - evtime->tv_sec) * 1000000L;71 + usec += ev->input_event_usec - evtime->tv_usec;[all …]
1413 u64 evtime, u64 type, in perf_event__synthesize_stat_round() argument1423 event.time = evtime; in perf_event__synthesize_stat_round()