Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.h101 float time_slope; variable
DCwMcuSensor.cpp212 time_slope = 1; in sync_time_thread_in_class()
220 time_slope = 1; in sync_time_thread_in_class()
226 time_slope = (float)(cpu_current_time - last_cpu_sync_time) / in sync_time_thread_in_class()
230 … ALOGV("Sync: time_offset = %" PRId64 ", time_slope = %f\n", time_offset, time_slope); in sync_time_thread_in_class()
265 , time_slope(1) in CwMcuSensor()
1103 int64_t event_cpu_diff = event_mcu_diff * time_slope; in readEvents()