Searched refs:power_rail (Results 1 – 6 of 6) sorted by relevance
43 bool calculateAvgPower(std::string_view power_rail, const PowerSample &last_sample, in calculateAvgPower() argument47 LOG(VERBOSE) << "Power rail " << power_rail.data() in calculateAvgPower()52 LOG(ERROR) << "Power rail " << power_rail.data() in calculateAvgPower()62 LOG(VERBOSE) << "Power rail " << power_rail.data() << ", avg power = " << *avg_power in calculateAvgPower()101 std::string power_rail = in registerPowerRailsToWatch() local103 if (!energy_info_map_.count(power_rail)) { in registerPowerRailsToWatch()104 LOG(ERROR) << " Could not find energy source " << power_rail; in registerPowerRailsToWatch()108 const auto curr_sample = energy_info_map_.at(power_rail); in registerPowerRailsToWatch()238 float PowerFiles::updateAveragePower(std::string_view power_rail, in updateAveragePower() argument241 if (!energy_info_map_.count(power_rail.data())) { in updateAveragePower()[all …]
87 float updateAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history);89 float updatePowerRail(std::string_view power_rail);
172 if (!binded_cdev_pair.second.power_rail.empty()) { in registerThermalThrottling()420 if (!binded_cdev_info_pair.second.power_rail.empty()) { in allocatePowerToCdev()422 power_status_map.at(binded_cdev_info_pair.second.power_rail) in allocatePowerToCdev()431 binded_cdev_info_pair.second.power_rail + std::string("-avg_power")) in allocatePowerToCdev()454 if (!binded_cdev_info_pair.second.power_rail.empty()) { in allocatePowerToCdev()456 binded_cdev_info_pair.second.power_rail.c_str(), in allocatePowerToCdev()464 if (!binded_cdev_info_pair.second.power_rail.empty()) { in allocatePowerToCdev()466 binded_cdev_info_pair.second.power_rail.c_str(), in allocatePowerToCdev()480 } else if (!power_data_invalid && binded_cdev_info_pair.second.power_rail != "") { in allocatePowerToCdev()652 !power_status_map.count(binded_cdev_info_pair.second.power_rail)) { in throttlingReleaseUpdate()[all …]
747 std::string power_rail; in ParseBindedCdevInfo() local757 power_rail = values[j]["BindedPowerRail"].asString(); in ParseBindedCdevInfo()819 .power_rail = power_rail, in ParseBindedCdevInfo()986 if (binded_cdev_info_pair.second.power_rail != in ParseSensorThrottlingInfo()987 binded_cdev_info_map.at(binded_cdev_info_pair.first).power_rail) { in ParseSensorThrottlingInfo()1011 const std::string &power_rail = values[j]["PowerRail"].asString(); in ParseSensorThrottlingInfo() local1012 if (power_rail.empty()) { in ParseSensorThrottlingInfo()1019 LOG(INFO) << "Sensor[" << name << "]: Start to parse " << power_rail in ParseSensorThrottlingInfo()1026 excluded_power_info_map[power_rail] = power_weight; in ParseSensorThrottlingInfo()1452 const std::string &power_rail = cooling_devices[i]["PowerRail"].asString(); in ParseCoolingDevice() local[all …]
180 std::string power_rail; member
464 if (!binded_cdev_info_pair.second.power_rail.empty()) { in dumpThrottlingInfo()466 << binded_cdev_info_pair.second.power_rail << std::endl; in dumpThrottlingInfo()