Searched refs:hot_thresholds (Results 1 – 12 of 12) sorted by relevance
/hardware/google/pixel/thermal/pid_1_0/utils/ |
D | thermal_info.cpp | 215 std::array<float, kThrottlingSeverityCount> hot_thresholds; in ParseSensorInfo() local 216 hot_thresholds.fill(NAN); in ParseSensorInfo() 246 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo() 247 if (!std::isnan(hot_thresholds[j])) { in ParseSensorInfo() 248 if (hot_thresholds[j] < min) { in ParseSensorInfo() 251 << "]: " << hot_thresholds[j] << " < " << min; in ParseSensorInfo() 255 min = hot_thresholds[j]; in ParseSensorInfo() 258 << "]: " << hot_thresholds[j]; in ParseSensorInfo() 285 if (std::isnan(hot_thresholds[j])) { in ParseSensorInfo() 289 if (std::isnan(hot_thresholds[k])) { in ParseSensorInfo() [all …]
|
D | thermal_info.h | 104 ThrottlingArray hot_thresholds; member
|
D | thermal_throttling.cpp | 163 float err = sensor_info.hot_thresholds[target_state] - temp.value; in updatePowerBudget()
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_info.cpp | 360 std::array<float, kThrottlingSeverityCount> hot_thresholds; in ParseSensorInfo() local 361 hot_thresholds.fill(NAN); in ParseSensorInfo() 391 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo() 392 if (!std::isnan(hot_thresholds[j])) { in ParseSensorInfo() 393 if (hot_thresholds[j] < min) { in ParseSensorInfo() 396 << "]: " << hot_thresholds[j] << " < " << min; in ParseSensorInfo() 400 min = hot_thresholds[j]; in ParseSensorInfo() 403 << "]: " << hot_thresholds[j]; in ParseSensorInfo() 430 if (std::isnan(hot_thresholds[j])) { in ParseSensorInfo() 434 if (std::isnan(hot_thresholds[k])) { in ParseSensorInfo() [all …]
|
D | thermal_info.h | 106 ThrottlingArray hot_thresholds; member
|
D | thermal_throttling.cpp | 188 float err = sensor_info.hot_thresholds[target_state] - temp.value; in updatePowerBudget()
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.cpp | 352 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SEVERE)]; in readTemperature() 354 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SHUTDOWN)]; in readTemperature() 397 status = getSeverityFromThresholds(sensor_info.hot_thresholds, sensor_info.cold_thresholds, in readTemperature() 434 out->hotThrottlingThresholds = sensor_info.hot_thresholds; in readTemperatureThreshold() 467 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds, in getSeverityFromThresholds() argument 480 if (!std::isnan(hot_thresholds[i]) && hot_thresholds[i] <= value && in getSeverityFromThresholds() 484 if (!std::isnan(hot_thresholds[i]) && (hot_thresholds[i] - hot_hysteresis[i]) < value && in getSeverityFromThresholds() 661 if (!std::isnan(sensor_info.second.hot_thresholds[i]) && in initializeTrip() 665 sensor_info.second.hot_thresholds[i] / sensor_info.second.multiplier)); in initializeTrip()
|
D | thermal-helper.h | 148 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
|
D | Thermal.cpp | 651 dump_buf << name_info_pair.second.hot_thresholds[i] << " "; in debug()
|
/hardware/google/pixel/thermal/pid_1_0/ |
D | thermal-helper.cpp | 345 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SEVERE)]; in readTemperature() 347 sensor_info.hot_thresholds[static_cast<size_t>(ThrottlingSeverity::SHUTDOWN)]; in readTemperature() 381 status = getSeverityFromThresholds(sensor_info.hot_thresholds, sensor_info.cold_thresholds, in readTemperature() 411 out->hotThrottlingThresholds = sensor_info.hot_thresholds; in readTemperatureThreshold() 441 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds, in getSeverityFromThresholds() argument 454 if (!std::isnan(hot_thresholds[i]) && hot_thresholds[i] <= value && in getSeverityFromThresholds() 458 if (!std::isnan(hot_thresholds[i]) && (hot_thresholds[i] - hot_hysteresis[i]) < value && in getSeverityFromThresholds() 635 if (!std::isnan(sensor_info.second.hot_thresholds[i]) && in initializeTrip() 639 sensor_info.second.hot_thresholds[i] / sensor_info.second.multiplier)); in initializeTrip()
|
D | thermal-helper.h | 148 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
|
D | Thermal.cpp | 645 dump_buf << name_info_pair.second.hot_thresholds[i] << " "; in debug()
|