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.cpp268 float avg_power_val = -1; in computeAveragePower() local
286 avg_power_val += 1; in computeAveragePower()
289 avg_power_val += avg_power_number * coefficient; in computeAveragePower()
293 avg_power_val = std::numeric_limits<float>::lowest(); in computeAveragePower()
294 if (avg_power_number * coefficient > avg_power_val) in computeAveragePower()
295 avg_power_val = avg_power_number * coefficient; in computeAveragePower()
299 avg_power_val = std::numeric_limits<float>::max(); in computeAveragePower()
300 if (avg_power_number * coefficient < avg_power_val) in computeAveragePower()
301 avg_power_val = avg_power_number * coefficient; in computeAveragePower()
307 if (avg_power_val >= 0) { in computeAveragePower()
[all …]