Home
last modified time | relevance | path

Searched refs:power_status_map (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.h82 const std::unordered_map<std::string, PowerStatus> &power_status_map,
109 const std::unordered_map<std::string, PowerStatus> &power_status_map,
116 const std::unordered_map<std::string, PowerStatus> &power_status_map,
131 const std::unordered_map<std::string, PowerStatus> &power_status_map,
Dthermal_throttling.cpp327 const std::unordered_map<std::string, PowerStatus> &power_status_map, std::string *log_buf, in computeExcludedPower() argument
334 power_status_map.at(excluded_power_info_pair.first).last_updated_avg_power; in computeExcludedPower()
359 const std::unordered_map<std::string, PowerStatus> &power_status_map, in allocatePowerToCdev() argument
379 total_power_budget -= computeExcludedPower(sensor_info, curr_severity, power_status_map, in allocatePowerToCdev()
422 power_status_map.at(binded_cdev_info_pair.second.power_rail) in allocatePowerToCdev()
640 const std::unordered_map<std::string, PowerStatus> &power_status_map, in throttlingReleaseUpdate() argument
652 !power_status_map.count(binded_cdev_info_pair.second.power_rail)) { in throttlingReleaseUpdate()
661 power_status_map.at(binded_cdev_info_pair.second.power_rail).last_updated_avg_power; in throttlingReleaseUpdate()
737 const std::unordered_map<std::string, PowerStatus> &power_status_map, in thermalThrottlingUpdate() argument
750 power_status_map, cooling_device_info_map, max_throttling, in thermalThrottlingUpdate()
[all …]
/hardware/google/pixel/thermal/
DThermal.cpp560 const auto &power_status_map = thermal_helper_->GetPowerStatusMap(); in dumpPowerRailInfo() local
569 if (power_status_map.count(power_rail_pair.first)) { in dumpPowerRailInfo()
570 auto power_history = power_status_map.at(power_rail_pair.first).power_history; in dumpPowerRailInfo()
572 << power_status_map.at(power_rail_pair.first).last_updated_avg_power << " mW" in dumpPowerRailInfo()