Lines Matching refs:cdev_info
230 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in updatePowerBudget() local
232 default_i_budget += cdev_info.state2power[max_cdev_vote]; in updatePowerBudget()
463 const CdevInfo &cdev_info = cooling_device_info_map.at(binded_cdev_info_pair.first); in allocatePowerToCdev() local
472 binded_cdev_info_pair.first) == cdev_info.max_state)) { in allocatePowerToCdev()
474 << " has been already at max state " << cdev_info.max_state; in allocatePowerToCdev()
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()
547 cdev_info.state2power[curr_cdev_vote]) { in allocatePowerToCdev()
555 std::max(cdev_power_budget, cdev_info.state2power[target_state]); in allocatePowerToCdev()
596 const CdevInfo &cdev_info = cooling_device_info_map.at(pid_power_budget_pair.first); in updateCdevRequestByPower() local
598 for (i = 0; i < cdev_info.state2power.size() - 1; ++i) { in updateCdevRequestByPower()
599 if (pid_power_budget_pair.second >= cdev_info.state2power[i]) { in updateCdevRequestByPower()