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() 112 sensor_info.throttling_info->i_default; in clearThrottlingData() 122 std::string_view sensor_name, const std::shared_ptr<ThrottlingInfo> &throttling_info, in registerThermalThrottling() argument 129 if (throttling_info == nullptr) { in registerThermalThrottling() 135 thermal_throttling_status_map_[sensor_name.data()].i_budget = throttling_info->i_default; in registerThermalThrottling() 142 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() [all …]
|
D | thermal_throttling.h | 71 std::string_view sensor_name, const std::shared_ptr<ThrottlingInfo> &throttling_info,
|
D | thermal_info.cpp | 453 std::shared_ptr<ThrottlingInfo> *throttling_info) { in ParseSensorThrottlingInfo() argument 638 throttling_info->reset(new ThrottlingInfo{ in ParseSensorThrottlingInfo() 906 std::shared_ptr<ThrottlingInfo> throttling_info; in ParseSensorInfo() local 907 if (!ParseSensorThrottlingInfo(name, sensors[i], &support_throttling, &throttling_info)) { in ParseSensorInfo() 934 .throttling_info = std::move(throttling_info), in ParseSensorInfo()
|
D | thermal_info.h | 186 std::shared_ptr<ThrottlingInfo> throttling_info; member
|
D | thermal_stats_helper.cpp | 107 sensor_info.throttling_info->binded_cdev_info_map) { in initializeSensorCdevRequestStats()
|
/hardware/google/pixel/thermal/ |
D | Thermal.cpp | 304 if (name_info_pair.second.throttling_info == nullptr) { in dumpThrottlingInfo() 307 if (name_info_pair.second.throttling_info->binded_cdev_info_map.size()) { in dumpThrottlingInfo() 318 *dump_buf << name_info_pair.second.throttling_info->k_po[i] << " "; in dumpThrottlingInfo() 323 *dump_buf << name_info_pair.second.throttling_info->k_pu[i] << " "; in dumpThrottlingInfo() 328 *dump_buf << name_info_pair.second.throttling_info->k_i[i] << " "; in dumpThrottlingInfo() 333 *dump_buf << name_info_pair.second.throttling_info->k_d[i] << " "; in dumpThrottlingInfo() 338 *dump_buf << name_info_pair.second.throttling_info->i_max[i] << " "; in dumpThrottlingInfo() 343 *dump_buf << name_info_pair.second.throttling_info->max_alloc_power[i] << " "; in dumpThrottlingInfo() 348 *dump_buf << name_info_pair.second.throttling_info->min_alloc_power[i] << " "; in dumpThrottlingInfo() 353 *dump_buf << name_info_pair.second.throttling_info->s_power[i] << " "; in dumpThrottlingInfo() [all …]
|
D | thermal-helper.cpp | 175 if (name_status_pair.second.throttling_info != nullptr) { in ThermalHelperImpl() 177 name_status_pair.first, name_status_pair.second.throttling_info, in ThermalHelperImpl() 185 maxCoolingRequestCheck(&name_status_pair.second.throttling_info->binded_cdev_info_map); in ThermalHelperImpl() 189 name_status_pair.second.throttling_info->profile_map) { in ThermalHelperImpl() 541 sensor_info_pair.second.throttling_info.reset(); in clearAllThrottling()
|