Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp444 const auto temp = sensor_info.hot_thresholds[severity] / sensor_info.multiplier; in emulSeverity()
539 status = getSeverityFromThresholds(sensor_info.hot_thresholds, sensor_info.cold_thresholds, in readTemperature()
588 std::vector(sensor_info.hot_thresholds.begin(), sensor_info.hot_thresholds.end()); in readTemperatureThreshold()
611 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds, in getSeverityFromThresholds() argument
624 if (!std::isnan(hot_thresholds[i]) && hot_thresholds[i] <= value && in getSeverityFromThresholds()
628 if (!std::isnan(hot_thresholds[i]) && (hot_thresholds[i] - hot_hysteresis[i]) < value && in getSeverityFromThresholds()
681 sensor_info_pair.second.hot_thresholds.fill(NAN); in clearAllThrottling()
856 if (!std::isnan(sensor_info.second.hot_thresholds[i]) && in initializeTrip()
860 sensor_info.second.hot_thresholds[i] / sensor_info.second.multiplier)); in initializeTrip()
Dthermal-helper.h211 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
DThermal.cpp756 dump_buf << name_info_pair.second.hot_thresholds[i] << " "; in dumpThermalData()
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp1137 std::array<float, kThrottlingSeverityCount> hot_thresholds; in ParseSensorInfo() local
1138 hot_thresholds.fill(NAN); in ParseSensorInfo()
1156 hot_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
1157 if (!std::isnan(hot_thresholds[j])) { in ParseSensorInfo()
1158 if (hot_thresholds[j] < min) { in ParseSensorInfo()
1161 << "]: " << hot_thresholds[j] << " < " << min; in ParseSensorInfo()
1165 min = hot_thresholds[j]; in ParseSensorInfo()
1168 << "]: " << hot_thresholds[j]; in ParseSensorInfo()
1194 if (std::isnan(hot_thresholds[j])) { in ParseSensorInfo()
1198 if (std::isnan(hot_thresholds[k])) { in ParseSensorInfo()
[all …]
Dthermal_info.h211 ThrottlingArray hot_thresholds; member
Dthermal_throttling.cpp212 float target = sensor_info.hot_thresholds[target_state]; in updatePowerBudget()