Lines Matching refs:temp

187         const Temperature &temp, const SensorInfo &sensor_info,  in updatePowerBudget()  argument
195 auto &throttling_status = thermal_throttling_status_map_.at(temp.name); in updatePowerBudget()
196 std::string sensor_name = temp.name; in updatePowerBudget()
213 float err = target - temp.value; in updatePowerBudget()
291 LOG(INFO) << temp.name << " power_budget=" << power_budget << " err=" << err in updatePowerBudget()
318 static_cast<int>(temp.value / sensor_info.multiplier)); in updatePowerBudget()
357 const Temperature &temp, const SensorInfo &sensor_info, in allocatePowerToCdev() argument
374 updatePowerBudget(temp, sensor_info, cooling_device_info_map, time_elapsed_ms, in allocatePowerToCdev()
376 const auto &profile = thermal_throttling_status_map_[temp.name].profile; in allocatePowerToCdev()
380 &log_buf, temp.name); in allocatePowerToCdev()
383 LOG(INFO) << temp.name << " power budget=" << total_power_budget << " after " << log_buf in allocatePowerToCdev()
430 ATRACE_INT((temp.name + std::string("-") + in allocatePowerToCdev()
449 thermal_throttling_status_map_[temp.name].pid_cdev_request_map.at( in allocatePowerToCdev()
459 LOG(VERBOSE) << temp.name << " binded " << binded_cdev_info_pair.first in allocatePowerToCdev()
471 thermal_throttling_status_map_[temp.name].pid_cdev_request_map.at( in allocatePowerToCdev()
473 LOG(VERBOSE) << temp.name << " binded " << binded_cdev_info_pair.first in allocatePowerToCdev()
482 thermal_throttling_status_map_[temp.name].pid_power_budget_map.at( in allocatePowerToCdev()
509 thermal_throttling_status_map_[temp.name].pid_cdev_request_map.at( in allocatePowerToCdev()
518 LOG(VERBOSE) << temp.name << "'s " << binded_cdev_info_pair.first in allocatePowerToCdev()
559 thermal_throttling_status_map_[temp.name].pid_power_budget_map.at( in allocatePowerToCdev()
561 LOG(VERBOSE) << temp.name << " allocate " in allocatePowerToCdev()
562 << thermal_throttling_status_map_[temp.name].pid_power_budget_map.at( in allocatePowerToCdev()
583 LOG(INFO) << temp.name << " binded power rails: " << log_buf; in allocatePowerToCdev()
735 const Temperature &temp, const SensorInfo &sensor_info, in thermalThrottlingUpdate() argument
740 if (!thermal_throttling_status_map_.count(temp.name)) { in thermalThrottlingUpdate()
745 parseProfileProperty(temp.name.c_str(), sensor_info); in thermalThrottlingUpdate()
748 if (thermal_throttling_status_map_[temp.name].pid_power_budget_map.size()) { in thermalThrottlingUpdate()
749 if (!allocatePowerToCdev(temp, sensor_info, curr_severity, time_elapsed_ms, in thermalThrottlingUpdate()
752 LOG(ERROR) << "Sensor " << temp.name << " PID request cdev failed"; in thermalThrottlingUpdate()
755 thermal_throttling_status_map_[temp.name].pid_cdev_request_map) { in thermalThrottlingUpdate()
759 updateCdevRequestByPower(temp.name, cooling_device_info_map); in thermalThrottlingUpdate()
762 if (thermal_throttling_status_map_[temp.name].hardlimit_cdev_request_map.size()) { in thermalThrottlingUpdate()
763 updateCdevRequestBySeverity(temp.name.c_str(), sensor_info, curr_severity); in thermalThrottlingUpdate()
766 if (thermal_throttling_status_map_[temp.name].throttling_release_map.size()) { in thermalThrottlingUpdate()
767 throttlingReleaseUpdate(temp.name.c_str(), cooling_device_info_map, power_status_map, in thermalThrottlingUpdate()