Lines Matching refs:power_rail
86 throttling_release_map_[sensor_name.data()].count(binded_cdev_info.power_rail)) { in registerPowerRailsToWatch()
121 power_status_map_[sensor_name.data()][binded_cdev_info.power_rail] = { in registerPowerRailsToWatch()
131 << binded_cdev_info.power_rail << " for cooling device " << cdev_name.data(); in registerPowerRailsToWatch()
232 bool PowerFiles::getAveragePower(std::string_view power_rail, in getAveragePower() argument
235 const auto curr_sample = energy_info_map_.at(power_rail.data()); in getAveragePower()
243 LOG(VERBOSE) << "Power rail " << power_rail.data() << ": the last energy timestamp is zero"; in getAveragePower()
245 LOG(ERROR) << "Power rail " << power_rail.data() << " is invalid: duration = " << duration in getAveragePower()
251 LOG(VERBOSE) << "Power rail " << power_rail.data() << ", avg power = " << *avg_power in getAveragePower()
327 !power_status_map_[sensor_name.data()].count(binded_cdev_info.power_rail)) { in throttlingReleaseUpdate()
332 auto &power_status = power_status_map_[sensor_name.data()].at(binded_cdev_info.power_rail); in throttlingReleaseUpdate()
339 LOG(VERBOSE) << "Power rail " << binded_cdev_info.power_rail in throttlingReleaseUpdate()
364 ? getAveragePower(binded_cdev_info.power_rail, &power_status.power_history[0], in throttlingReleaseUpdate()
392 LOG(INFO) << "Power rail " << binded_cdev_info.power_rail << ": power threshold = " in throttlingReleaseUpdate()