Searched refs:state2power (Results 1 – 4 of 4) sorted by relevance
436 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()453 if (!std::isnan(cdev_info.state2power[0]) && in allocatePowerToCdev()454 cdev_power_budget > cdev_info.state2power[0]) { in allocatePowerToCdev()455 cdev_power_budget = cdev_info.state2power[0]; in allocatePowerToCdev()473 cdev_power_budget = cdev_info.state2power[curr_cdev_vote]; in allocatePowerToCdev()481 std::min(cdev_power_budget, cdev_info.state2power[target_state]); in allocatePowerToCdev()492 std::max(cdev_power_budget, cdev_info.state2power[target_state]); in allocatePowerToCdev()534 for (i = 0; i < cdev_info.state2power.size() - 1; ++i) { in updateCdevRequestByPower()535 if (pid_power_budget_pair.second >= cdev_info.state2power[i]) { in updateCdevRequestByPower()
982 std::vector<float> state2power; in ParseCoolingDevice() local985 state2power.reserve(values.size()); in ParseCoolingDevice()987 state2power.emplace_back(getFloatFromValue(values[j])); in ParseCoolingDevice()989 << "]: " << state2power[j]; in ParseCoolingDevice()1003 .state2power = state2power, in ParseCoolingDevice()
193 std::vector<float> state2power; member
620 cooling_device_info_pair.second.state2power.clear(); in initializeCoolingDevices()626 cooling_device_info_pair.second.state2power.push_back( in initializeCoolingDevices()647 << cooling_device_info_pair.second.state2power.size(); in initializeCoolingDevices()648 if (cooling_device_info_pair.second.state2power.size() > 0 && in initializeCoolingDevices()649 static_cast<int>(cooling_device_info_pair.second.state2power.size()) != in initializeCoolingDevices()652 << cooling_device_info_pair.second.state2power.size() in initializeCoolingDevices()