Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp234 float *avg_power) { in getAveragePower() argument
250 *avg_power = static_cast<float>(deltaEnergy) / static_cast<float>(duration); in getAveragePower()
251 LOG(VERBOSE) << "Power rail " << power_rail.data() << ", avg power = " << *avg_power in getAveragePower()
265 float *avg_power) { in computeAveragePower() argument
311 *avg_power = avg_power_val; in computeAveragePower()
322 float avg_power = -1; in throttlingReleaseUpdate() local
360 avg_power = power_status.last_updated_avg_power; in throttlingReleaseUpdate()
365 power_sample_update, &avg_power) in throttlingReleaseUpdate()
367 &avg_power))) { in throttlingReleaseUpdate()
373 } else if (avg_power < 0) { in throttlingReleaseUpdate()
[all …]
Dpower_files.h78 bool power_sample_update, float *avg_power);
80 bool power_sample_update, float *avg_power);