Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp286 float avg_power_val = 0.0; in updatePowerRail() local
298 avg_power_val += 1; in updatePowerRail()
301 avg_power_val += avg_power_number * coefficient; in updatePowerRail()
305 avg_power_val = std::numeric_limits<float>::lowest(); in updatePowerRail()
306 if (avg_power_number * coefficient > avg_power_val) in updatePowerRail()
307 avg_power_val = avg_power_number * coefficient; in updatePowerRail()
311 avg_power_val = std::numeric_limits<float>::max(); in updatePowerRail()
312 if (avg_power_number * coefficient < avg_power_val) in updatePowerRail()
313 avg_power_val = avg_power_number * coefficient; in updatePowerRail()
319 if (avg_power_val >= 0) { in updatePowerRail()
[all …]