Home
last modified time | relevance | path

Searched refs:state2power (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp232 default_i_budget += cdev_info.state2power[max_cdev_vote]; in updatePowerBudget()
479 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()
496 if (!std::isnan(cdev_info.state2power[0]) && in allocatePowerToCdev()
497 cdev_power_budget > cdev_info.state2power[0]) { in allocatePowerToCdev()
498 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()
517 cdev_power_budget = cdev_info.state2power[curr_cdev_vote]; in allocatePowerToCdev()
527 cdev_info.state2power[curr_cdev_vote - target_release_step] == in allocatePowerToCdev()
528 cdev_info.state2power[curr_cdev_vote]) { in allocatePowerToCdev()
535 cdev_info.state2power[target_state]); in allocatePowerToCdev()
546 cdev_info.state2power[curr_cdev_vote + target_throttle_step] == in allocatePowerToCdev()
[all …]
Dthermal_info.cpp1434 std::vector<float> state2power; in ParseCoolingDevice() local
1437 state2power.reserve(values.size()); in ParseCoolingDevice()
1439 state2power.emplace_back(getFloatFromValue(values[j])); in ParseCoolingDevice()
1441 << "]: " << state2power[j]; in ParseCoolingDevice()
1442 if (j > 0 && state2power[j] < state2power[j - 1]) { in ParseCoolingDevice()
1459 .state2power = state2power, in ParseCoolingDevice()
Dthermal_info.h237 std::vector<float> state2power; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp759 cooling_device_info_pair.second.state2power.clear(); in initializeCoolingDevices()
765 cooling_device_info_pair.second.state2power.push_back( in initializeCoolingDevices()
786 << cooling_device_info_pair.second.state2power.size(); in initializeCoolingDevices()
787 if (cooling_device_info_pair.second.state2power.size() > 0 && in initializeCoolingDevices()
788 static_cast<int>(cooling_device_info_pair.second.state2power.size()) != in initializeCoolingDevices()
791 << cooling_device_info_pair.second.state2power.size() in initializeCoolingDevices()