Home
last modified time | relevance | path

Searched refs:evtime (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/utouch/utouch-evemu/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch61 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 …]
/openbmc/linux/tools/perf/util/
H A Dsynthetic-events.c1413 u64 evtime, u64 type, in perf_event__synthesize_stat_round() argument
1423 event.time = evtime; in perf_event__synthesize_stat_round()