Home
last modified time | relevance | path

Searched refs:hot_thresholds (Results 1 – 12 of 12) sorted by relevance

/hardware/google/pixel/thermal/pid_1_0/utils/
Dthermal_info.cpp215 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 …]
Dthermal_info.h104 ThrottlingArray hot_thresholds; member
Dthermal_throttling.cpp163 float err = sensor_info.hot_thresholds[target_state] - temp.value; in updatePowerBudget()
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp360 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 …]
Dthermal_info.h106 ThrottlingArray hot_thresholds; member
Dthermal_throttling.cpp188 float err = sensor_info.hot_thresholds[target_state] - temp.value; in updatePowerBudget()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp352 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()
Dthermal-helper.h148 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
DThermal.cpp651 dump_buf << name_info_pair.second.hot_thresholds[i] << " "; in debug()
/hardware/google/pixel/thermal/pid_1_0/
Dthermal-helper.cpp345 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()
Dthermal-helper.h148 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
DThermal.cpp645 dump_buf << name_info_pair.second.hot_thresholds[i] << " "; in debug()