Lines Matching refs:power_budget
192 float power_budget = std::numeric_limits<float>::max(); in updatePowerBudget() local
199 return power_budget; in updatePowerBudget()
270 power_budget = sensor_info.throttling_info->s_power[target_state] + p + in updatePowerBudget()
272 if (power_budget < sensor_info.throttling_info->min_alloc_power[target_state]) { in updatePowerBudget()
273 power_budget = sensor_info.throttling_info->min_alloc_power[target_state]; in updatePowerBudget()
275 if (power_budget > sensor_info.throttling_info->max_alloc_power[target_state]) { in updatePowerBudget()
276 power_budget = sensor_info.throttling_info->max_alloc_power[target_state]; in updatePowerBudget()
280 throttling_status.budget_transient = throttling_status.prev_power_budget - power_budget; in updatePowerBudget()
287 power_budget += budget_transient; in updatePowerBudget()
291 LOG(INFO) << temp.name << " power_budget=" << power_budget << " err=" << err in updatePowerBudget()
299 static_cast<int>(power_budget)); in updatePowerBudget()
320 throttling_status.prev_power_budget = power_budget; in updatePowerBudget()
322 return power_budget; in updatePowerBudget()