Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp233 std::queue<PowerSample> *power_history, bool power_sample_update, in getAveragePower() argument
255 if (power_sample_update) { in getAveragePower()
264 PowerStatus *power_status, bool power_sample_update, in computeAveragePower() argument
275 &power_status->power_history[i], power_sample_update, in computeAveragePower()
320 bool power_sample_update, bool severity_changed) { in throttlingReleaseUpdate() argument
334 if (power_sample_update) { in throttlingReleaseUpdate()
345 power_sample_update = false; in throttlingReleaseUpdate()
359 if (!power_sample_update && !std::isnan(power_status.last_updated_avg_power)) { in throttlingReleaseUpdate()
365 power_sample_update, &avg_power) in throttlingReleaseUpdate()
366 : computeAveragePower(power_rail_info, &power_status, power_sample_update, in throttlingReleaseUpdate()
Dpower_files.h78 bool power_sample_update, float *avg_power);
80 bool power_sample_update, float *avg_power);
88 const PowerRailInfo &power_rail_info, bool power_sample_update,