Lines Matching refs:curr_severity

44 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()
379 total_power_budget -= computeExcludedPower(sensor_info, curr_severity, power_status_map, in allocatePowerToCdev()
394 .cdev_weight_for_pid[static_cast<size_t>(curr_severity)]; in allocatePowerToCdev()
412 .cdev_weight_for_pid[static_cast<size_t>(curr_severity)]; in allocatePowerToCdev()
526 curr_severity)] && in allocatePowerToCdev()
545 .cdev_ceiling[static_cast<size_t>(curr_severity)] && in allocatePowerToCdev()
553 .cdev_ceiling[static_cast<size_t>(curr_severity)]); in allocatePowerToCdev()
612 ThrottlingSeverity curr_severity) { in updateCdevRequestBySeverity() argument
628 .limit_info[static_cast<size_t>(curr_severity)] in updateCdevRequestBySeverity()
736 const ThrottlingSeverity curr_severity, const std::chrono::milliseconds time_elapsed_ms, in thermalThrottlingUpdate() argument
749 if (!allocatePowerToCdev(temp, sensor_info, curr_severity, time_elapsed_ms, in thermalThrottlingUpdate()
763 updateCdevRequestBySeverity(temp.name.c_str(), sensor_info, curr_severity); in thermalThrottlingUpdate()
768 curr_severity, sensor_info); in thermalThrottlingUpdate()
774 const ThrottlingSeverity curr_severity, std::vector<std::string> *cooling_devices_to_update, in computeCoolingDevicesRequest() argument
797 const auto cdev_ceiling = binded_cdev_info.cdev_ceiling[static_cast<size_t>(curr_severity)]; in computeCoolingDevicesRequest()
799 binded_cdev_info.cdev_floor_with_power_link[static_cast<size_t>(curr_severity)]; in computeCoolingDevicesRequest()