Searched refs:power_rail (Results 1 – 5 of 5) sorted by relevance
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() argument235 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()[all …]
566 std::string power_rail; in ParseSensorInfo() local575 power_rail = values[j]["BindedPowerRail"].asString(); in ParseSensorInfo()625 LOG(ERROR) << cdev_name << "'s power rail " << power_rail << " is invalid"; in ParseSensorInfo()641 .power_rail = power_rail, in ParseSensorInfo()753 const std::string &power_rail = cooling_devices[i]["PowerRail"].asString(); in ParseCoolingDevice() local754 LOG(INFO) << "Cooling device power rail : " << power_rail; in ParseCoolingDevice()
77 bool getAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history,
79 std::string power_rail; member
407 if (!binded_cdev_info_pair.second.power_rail.empty()) { in dumpThrottlingInfo()409 << binded_cdev_info_pair.second.power_rail << std::endl; in dumpThrottlingInfo()