Home
last modified time | relevance | path

Searched refs:curr_severity (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.h55 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity);
81 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms,
89 const ThrottlingSeverity curr_severity,
102 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity,
108 const ThrottlingSeverity curr_severity,
115 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms,
125 ThrottlingSeverity curr_severity);
Dthermal_throttling.cpp44 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity) { in getTargetStateOfPID() argument
53 if (severity > curr_severity) { in getTargetStateOfPID()
189 std::chrono::milliseconds time_elapsed_ms, ThrottlingSeverity curr_severity, in updatePowerBudget() argument
198 if (curr_severity == ThrottlingSeverity::NONE) { in updatePowerBudget()
202 const auto target_state = getTargetStateOfPID(sensor_info, curr_severity); in updatePowerBudget()
326 const SensorInfo &sensor_info, const ThrottlingSeverity curr_severity, in computeExcludedPower() argument
337 excluded_power_info_pair.second[static_cast<size_t>(curr_severity)]; in computeExcludedPower()
341 excluded_power_info_pair.second[static_cast<size_t>(curr_severity)])); in computeExcludedPower()
358 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, in allocatePowerToCdev() argument
375 curr_severity, max_throttling, sensor_predictions); in allocatePowerToCdev()
[all …]