Lines Matching refs:first
141 if (!cooling_device_info_map.count(binded_cdev_pair.first)) { in registerThermalThrottling()
143 << binded_cdev_pair.first; in registerThermalThrottling()
150 .pid_power_budget_map[binded_cdev_pair.first] = in registerThermalThrottling()
153 .pid_cdev_request_map[binded_cdev_pair.first] = 0; in registerThermalThrottling()
155 .cdev_status_map[binded_cdev_pair.first] = 0; in registerThermalThrottling()
156 cdev_all_request_map_[binded_cdev_pair.first].insert(0); in registerThermalThrottling()
164 .hardlimit_cdev_request_map[binded_cdev_pair.first] = 0; in registerThermalThrottling()
166 .cdev_status_map[binded_cdev_pair.first] = 0; in registerThermalThrottling()
167 cdev_all_request_map_[binded_cdev_pair.first].insert(0); in registerThermalThrottling()
176 .throttling_release_map[binded_cdev_pair.first] = 0; in registerThermalThrottling()
230 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in updatePowerBudget()
231 max_cdev_vote = getCdevMaxRequest(binded_cdev_info_pair.first, &max_cdev_vote); in updatePowerBudget()
334 power_status_map.at(excluded_power_info_pair.first).last_updated_avg_power; in computeExcludedPower()
339 "(%s: %0.2f mW, cdev_weight: %f)", excluded_power_info_pair.first.c_str(), in computeExcludedPower()
344 excluded_power_info_pair.first + std::string("-avg_power")) in computeExcludedPower()
398 allocated_cdev.insert(binded_cdev_info_pair.first); in allocatePowerToCdev()
414 if (allocated_cdev.count(binded_cdev_info_pair.first)) { in allocatePowerToCdev()
450 binded_cdev_info_pair.first) == 0) { in allocatePowerToCdev()
453 allocated_cdev.insert(binded_cdev_info_pair.first); in allocatePowerToCdev()
459 LOG(VERBOSE) << temp.name << " binded " << binded_cdev_info_pair.first in allocatePowerToCdev()
463 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in allocatePowerToCdev()
472 binded_cdev_info_pair.first) == cdev_info.max_state)) { in allocatePowerToCdev()
473 LOG(VERBOSE) << temp.name << " binded " << binded_cdev_info_pair.first in allocatePowerToCdev()
483 binded_cdev_info_pair.first); in allocatePowerToCdev()
504 if (!getCdevMaxRequest(binded_cdev_info_pair.first, &max_cdev_vote)) { in allocatePowerToCdev()
510 binded_cdev_info_pair.first); in allocatePowerToCdev()
518 LOG(VERBOSE) << temp.name << "'s " << binded_cdev_info_pair.first in allocatePowerToCdev()
560 binded_cdev_info_pair.first) = cdev_power_budget; in allocatePowerToCdev()
563 binded_cdev_info_pair.first) in allocatePowerToCdev()
564 << "mW to " << binded_cdev_info_pair.first in allocatePowerToCdev()
596 const CdevInfo &cdev_info = cooling_device_info_map.at(pid_power_budget_pair.first); in updateCdevRequestByPower()
604 pid_power_budget_pair.first) = static_cast<int>(i); in updateCdevRequestByPower()
621 binded_cdev_info_pair.first)) { in updateCdevRequestBySeverity()
625 binded_cdev_info_pair.first) = in updateCdevRequestBySeverity()
631 << binded_cdev_info_pair.first << " to " in updateCdevRequestBySeverity()
633 .hardlimit_cdev_request_map.at(binded_cdev_info_pair.first); in updateCdevRequestBySeverity()
651 if (!thermal_throttling_status.throttling_release_map.count(binded_cdev_info_pair.first) || in throttlingReleaseUpdate()
656 const auto max_state = cooling_device_info_map.at(binded_cdev_info_pair.first).max_state; in throttlingReleaseUpdate()
659 thermal_throttling_status.throttling_release_map.at(binded_cdev_info_pair.first); in throttlingReleaseUpdate()
680 LOG(INFO) << sensor_name.data() << "'s " << binded_cdev_info_pair.first in throttlingReleaseUpdate()
795 const auto &cdev_name = cdev_request_pair.first; in computeCoolingDevicesRequest()