Searched refs:throttling_info (Results 1 – 7 of 7) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_throttling.cpp | 49 if (std::isnan(sensor_info.throttling_info->s_power[state])) { in getTargetStateOfPID() 63 if (sensor_info.throttling_info == nullptr) { in parseProfileProperty() 70 if (profile.empty() || sensor_info.throttling_info->profile_map.count(profile)) { in parseProfileProperty() 120 std::string_view sensor_name, const std::shared_ptr<ThrottlingInfo> &throttling_info, in registerThermalThrottling() argument 127 if (throttling_info == nullptr) { in registerThermalThrottling() 140 for (auto &binded_cdev_pair : throttling_info->binded_cdev_info_map) { in registerThermalThrottling() 205 sensor_info.throttling_info->tran_cycle > 0) { in updatePowerBudget() 206 throttling_status.tran_cycle = sensor_info.throttling_info->tran_cycle - 1; in updatePowerBudget() 216 return sensor_info.throttling_info->min_alloc_power[target_state]; in updatePowerBudget() 219 p = err * (err < 0 ? sensor_info.throttling_info->k_po[target_state] in updatePowerBudget() [all …]
|
D | thermal_throttling.h | 70 std::string_view sensor_name, const std::shared_ptr<ThrottlingInfo> &throttling_info,
|
D | thermal_info.h | 229 std::shared_ptr<ThrottlingInfo> throttling_info; member
|
D | thermal_info.cpp | 830 std::shared_ptr<ThrottlingInfo> *throttling_info, in ParseSensorThrottlingInfo() argument 1028 throttling_info->reset(new ThrottlingInfo{k_po, k_pu, k_i, k_d, i_max, max_alloc_power, in ParseSensorThrottlingInfo() 1356 std::shared_ptr<ThrottlingInfo> throttling_info; in ParseSensorInfo() local 1357 if (!ParseSensorThrottlingInfo(name, sensors[i], &support_throttling, &throttling_info, in ParseSensorInfo() 1385 .throttling_info = std::move(throttling_info), in ParseSensorInfo()
|
D | thermal_stats_helper.cpp | 133 sensor_info.throttling_info->binded_cdev_info_map) { in initializeSensorCdevRequestStats()
|
/hardware/google/pixel/thermal/ |
D | Thermal.cpp | 378 if (name_info_pair.second.throttling_info == nullptr) { in dumpThrottlingInfo() 381 if (name_info_pair.second.throttling_info->binded_cdev_info_map.size()) { in dumpThrottlingInfo() 392 *dump_buf << name_info_pair.second.throttling_info->k_po[i] << " "; in dumpThrottlingInfo() 397 *dump_buf << name_info_pair.second.throttling_info->k_pu[i] << " "; in dumpThrottlingInfo() 402 *dump_buf << name_info_pair.second.throttling_info->k_i[i] << " "; in dumpThrottlingInfo() 407 *dump_buf << name_info_pair.second.throttling_info->k_d[i] << " "; in dumpThrottlingInfo() 412 *dump_buf << name_info_pair.second.throttling_info->i_max[i] << " "; in dumpThrottlingInfo() 417 *dump_buf << name_info_pair.second.throttling_info->max_alloc_power[i] << " "; in dumpThrottlingInfo() 422 *dump_buf << name_info_pair.second.throttling_info->min_alloc_power[i] << " "; in dumpThrottlingInfo() 427 *dump_buf << name_info_pair.second.throttling_info->s_power[i] << " "; in dumpThrottlingInfo() [all …]
|
D | thermal-helper.cpp | 205 if (name_status_pair.second.throttling_info != nullptr) { in ThermalHelperImpl() 207 name_status_pair.first, name_status_pair.second.throttling_info, in ThermalHelperImpl() 215 maxCoolingRequestCheck(&name_status_pair.second.throttling_info->binded_cdev_info_map); in ThermalHelperImpl() 219 name_status_pair.second.throttling_info->profile_map) { in ThermalHelperImpl() 680 sensor_info_pair.second.throttling_info.reset(); in clearAllThrottling()
|