Home
last modified time | relevance | path

Searched refs:binded_cdev_info_pair (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp208 for (const auto &binded_cdev_info_pair : in updatePowerBudget()
213 if (throttling_status.pid_cdev_request_map.at(binded_cdev_info_pair.first) > in updatePowerBudget()
214 binded_cdev_info_pair.second.limit_info[static_cast<size_t>(curr_severity)]) { in updatePowerBudget()
217 if (throttling_status.pid_cdev_request_map.at(binded_cdev_info_pair.first) < in updatePowerBudget()
218 binded_cdev_info_pair.second.cdev_ceiling[static_cast<size_t>(curr_severity)]) { in updatePowerBudget()
250 for (const auto &binded_cdev_info_pair : in updatePowerBudget() local
253 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in updatePowerBudget()
254 max_cdev_vote = getCdevMaxRequest(binded_cdev_info_pair.first, &max_cdev_vote); in updatePowerBudget()
422 for (const auto &binded_cdev_info_pair : in allocatePowerToCdev()
426 const auto cdev_weight = binded_cdev_info_pair.second in allocatePowerToCdev()
[all …]
Dthermal_stats_helper.cpp132 for (const auto &binded_cdev_info_pair : in initializeSensorCdevRequestStats() local
134 const auto &cdev = binded_cdev_info_pair.first; in initializeSensorCdevRequestStats()
136 cooling_device_info_map_.at(binded_cdev_info_pair.first).max_state; in initializeSensorCdevRequestStats()
Dthermal_info.cpp1132 for (const auto &binded_cdev_info_pair : binded_cdev_info_map_profile) { in ParseSensorThrottlingInfo() local
1133 if (binded_cdev_info_map.count(binded_cdev_info_pair.first)) { in ParseSensorThrottlingInfo()
1134 if (binded_cdev_info_pair.second.power_rail != in ParseSensorThrottlingInfo()
1135 binded_cdev_info_map.at(binded_cdev_info_pair.first).power_rail) { in ParseSensorThrottlingInfo()
1137 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
1146 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
/hardware/google/pixel/thermal/
DThermal.cpp449 for (const auto &binded_cdev_info_pair : in dumpThrottlingInfo() local
453 *dump_buf << " Cooling device name: " << binded_cdev_info_pair.first << std::endl; in dumpThrottlingInfo()
458 *dump_buf << binded_cdev_info_pair.second.cdev_weight_for_pid[i] << " "; in dumpThrottlingInfo()
464 *dump_buf << binded_cdev_info_pair.second.cdev_ceiling[i] << " "; in dumpThrottlingInfo()
469 *dump_buf << binded_cdev_info_pair.second.limit_info[i] << " "; in dumpThrottlingInfo()
473 if (!binded_cdev_info_pair.second.power_rail.empty()) { in dumpThrottlingInfo()
475 << binded_cdev_info_pair.second.power_rail << std::endl; in dumpThrottlingInfo()
478 *dump_buf << binded_cdev_info_pair.second.power_thresholds[i] << " "; in dumpThrottlingInfo()
483 *dump_buf << binded_cdev_info_pair.second.cdev_floor_with_power_link[i] in dumpThrottlingInfo()
488 switch (binded_cdev_info_pair.second.release_logic) { in dumpThrottlingInfo()
[all …]
Dthermal-helper.cpp153 for (auto &binded_cdev_info_pair : *binded_cdev_info_map) { in maxCoolingRequestCheck()
154 const auto &cdev_info = cooling_device_info_map_.at(binded_cdev_info_pair.first); in maxCoolingRequestCheck()
155 for (auto &cdev_ceiling : binded_cdev_info_pair.second.cdev_ceiling) { in maxCoolingRequestCheck()
158 LOG(ERROR) << binded_cdev_info_pair.first << " cdev_ceiling:" << cdev_ceiling in maxCoolingRequestCheck()