Lines Matching refs:avg_power
234 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()
381 power_status.last_updated_avg_power = avg_power; in throttlingReleaseUpdate()
384 if (avg_power < binded_cdev_info.power_thresholds[static_cast<int>(severity)]) { in throttlingReleaseUpdate()
388 if (avg_power > binded_cdev_info.power_thresholds[static_cast<int>(severity)]) { in throttlingReleaseUpdate()
394 << ", avg power = " << avg_power; in throttlingReleaseUpdate()