Searched refs:avg_power (Results 1 – 2 of 2) sorted by relevance
44 const PowerSample &curr_sample, float *avg_power) { in calculateAvgPower() argument45 *avg_power = NAN; in calculateAvgPower()61 *avg_power = static_cast<float>(deltaEnergy) / static_cast<float>(duration); in calculateAvgPower()62 LOG(VERBOSE) << "Power rail " << power_rail.data() << ", avg power = " << *avg_power in calculateAvgPower()240 float avg_power = NAN; in updateAveragePower() local243 return avg_power; in updateAveragePower()247 if (calculateAvgPower(power_rail, last_sample, curr_sample, &avg_power)) { in updateAveragePower()251 return avg_power; in updateAveragePower()255 float avg_power = NAN; in updatePowerRail() local258 return avg_power; in updatePowerRail()[all …]
649 float avg_power = -1; in throttlingReleaseUpdate() local660 avg_power = in throttlingReleaseUpdate()663 if (std::isnan(avg_power) || avg_power < 0) { in throttlingReleaseUpdate()670 if (avg_power < in throttlingReleaseUpdate()675 if (avg_power > in throttlingReleaseUpdate()684 << ", avg power = " << avg_power; in throttlingReleaseUpdate()691 ATRACE_INT((atrace_prefix + std::string("-avg_power")).c_str(), avg_power); in throttlingReleaseUpdate()