Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp147 for (const auto &cdev_weight : binded_cdev_pair.second.cdev_weight_for_pid) { in registerThermalThrottling() local
148 if (!std::isnan(cdev_weight)) { in registerThermalThrottling()
393 const auto cdev_weight = binded_cdev_info_pair.second in allocatePowerToCdev() local
397 } else if (std::isnan(cdev_weight) || cdev_weight == 0) { in allocatePowerToCdev()
401 total_weight += cdev_weight; in allocatePowerToCdev()
410 const auto cdev_weight = in allocatePowerToCdev() local
443 auto cdev_power_budget = total_power_budget * (cdev_weight / total_weight); in allocatePowerToCdev()
452 allocated_weight += cdev_weight; in allocatePowerToCdev()
493 cdev_power_budget = total_power_budget * (cdev_weight / total_weight); in allocatePowerToCdev()
565 << "(cdev_weight=" << cdev_weight << ")"; in allocatePowerToCdev()