Lines Matching refs:i_budget
110 thermal_throttling_status_map_[sensor_name.data()].i_budget = NAN; in clearThrottlingData()
133 thermal_throttling_status_map_[sensor_name.data()].i_budget = NAN; in registerThermalThrottling()
222 if (std::isnan(throttling_status.i_budget)) { in updatePowerBudget()
224 throttling_status.i_budget = sensor_info.throttling_info->i_default; in updatePowerBudget()
234 throttling_status.i_budget = in updatePowerBudget()
240 throttling_status.i_budget += err * sensor_info.throttling_info->k_i[target_state]; in updatePowerBudget()
243 if (fabsf(throttling_status.i_budget) > sensor_info.throttling_info->i_max[target_state]) { in updatePowerBudget()
244 throttling_status.i_budget = sensor_info.throttling_info->i_max[target_state] * in updatePowerBudget()
245 (throttling_status.i_budget > 0 ? 1 : -1); in updatePowerBudget()
271 throttling_status.i_budget + d + compensation; in updatePowerBudget()
294 << " i=" << throttling_status.i_budget << " d=" << d in updatePowerBudget()
307 static_cast<int>(throttling_status.i_budget)); in updatePowerBudget()