Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp1085 uint64_t event_cpu_time; in readEvents() local
1099 event_cpu_time = event_mcu_time + time_offset; in readEvents()
1100 if (event_cpu_time <= last_cpu_timestamp[id]) { in readEvents()
1103 event_cpu_time = last_cpu_timestamp[id] + event_cpu_diff; in readEvents()
1108 event_cpu_time = last_cpu_timestamp[id] + event_cpu_diff; in readEvents()
1125 event_cpu_time, in readEvents()
1126 (event_cpu_time - last_cpu_timestamp[id]) / NS_PER_US, in readEvents()
1128 event_cpu_time = (mtimestamp > event_cpu_time) ? event_cpu_time : mtimestamp; in readEvents()
1130 last_cpu_timestamp[id] = event_cpu_time; in readEvents()
1134 mPendingEvents[id].timestamp = event_cpu_time; in readEvents()