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.cpp273 float avg_power_number = -1; in computeAveragePower() local
276 &avg_power_number)) { in computeAveragePower()
279 } else if (avg_power_number < 0) { in computeAveragePower()
284 if ((coefficient < 0 && avg_power_number < -coefficient) || in computeAveragePower()
285 (coefficient >= 0 && avg_power_number >= coefficient)) in computeAveragePower()
289 avg_power_val += avg_power_number * coefficient; in computeAveragePower()
294 if (avg_power_number * coefficient > avg_power_val) in computeAveragePower()
295 avg_power_val = avg_power_number * coefficient; in computeAveragePower()
300 if (avg_power_number * coefficient < avg_power_val) in computeAveragePower()
301 avg_power_val = avg_power_number * coefficient; in computeAveragePower()