Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp182 uint64_t mcu_current_time; in sync_time_thread_in_class() local
202 mcu_current_time = strtoull(buf, NULL, 10) * NS_PER_US; in sync_time_thread_in_class()
209 if (mcu_current_time == 0) { in sync_time_thread_in_class()
218 } else if ((mcu_current_time <= last_mcu_sync_time) || (last_mcu_sync_time == 0)) { in sync_time_thread_in_class()
221 time_offset = cpu_current_time - mcu_current_time; in sync_time_thread_in_class()
227 (float)(mcu_current_time - last_mcu_sync_time); in sync_time_thread_in_class()
228 time_offset = cpu_current_time - mcu_current_time; in sync_time_thread_in_class()
231 …cu_current_time = %" PRId64 ", last_mcu_sync_time = %" PRId64 "\n", mcu_current_time, last_mcu_syn… in sync_time_thread_in_class()
234 last_mcu_sync_time = mcu_current_time; in sync_time_thread_in_class()