Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp110 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()
[all …]
Dthermal_throttling.h46 float i_budget; member