Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp290 float avg_power_number = updateAveragePower( in updatePowerRail() local
296 if ((coefficient < 0 && avg_power_number < -coefficient) || in updatePowerRail()
297 (coefficient >= 0 && avg_power_number >= coefficient)) in updatePowerRail()
301 avg_power_val += avg_power_number * coefficient; in updatePowerRail()
306 if (avg_power_number * coefficient > avg_power_val) in updatePowerRail()
307 avg_power_val = avg_power_number * coefficient; in updatePowerRail()
312 if (avg_power_number * coefficient < avg_power_val) in updatePowerRail()
313 avg_power_val = avg_power_number * coefficient; in updatePowerRail()