Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp95 if (power_rail_info.virtual_power_rail_info != nullptr && in registerPowerRailsToWatch()
96 power_rail_info.virtual_power_rail_info->linked_power_rails.size()) { in registerPowerRailsToWatch()
97 for (size_t i = 0; i < power_rail_info.virtual_power_rail_info->linked_power_rails.size(); in registerPowerRailsToWatch()
100 power_rail_info.virtual_power_rail_info->linked_power_rails[i])) { in registerPowerRailsToWatch()
269 float offset = power_rail_info.virtual_power_rail_info->offset; in computeAveragePower()
270 for (size_t i = 0; i < power_rail_info.virtual_power_rail_info->linked_power_rails.size(); in computeAveragePower()
272 float coefficient = power_rail_info.virtual_power_rail_info->coefficients[i]; in computeAveragePower()
274 if (!getAveragePower(power_rail_info.virtual_power_rail_info->linked_power_rails[i], in computeAveragePower()
282 switch (power_rail_info.virtual_power_rail_info->formula) { in computeAveragePower()
363 if (!((power_rail_info.virtual_power_rail_info == nullptr) in throttlingReleaseUpdate()
Dconfig_parser.h128 std::unique_ptr<VirtualPowerRailInfo> virtual_power_rail_info; member
Dconfig_parser.cpp873 std::unique_ptr<VirtualPowerRailInfo> virtual_power_rail_info; in ParsePowerRailInfo() local
875 virtual_power_rail_info.reset( in ParsePowerRailInfo()
893 .virtual_power_rail_info = std::move(virtual_power_rail_info), in ParsePowerRailInfo()
/hardware/google/pixel/thermal/
DThermal.cpp502 if (power_rail_pair.second.virtual_power_rail_info != nullptr) { in dumpPowerRailInfo()
504 switch (power_rail_pair.second.virtual_power_rail_info->formula) { in dumpPowerRailInfo()
524 if (power_rail_pair.second.virtual_power_rail_info != nullptr) { in dumpPowerRailInfo()
526 << power_rail_pair.second.virtual_power_rail_info in dumpPowerRailInfo()
530 << power_rail_pair.second.virtual_power_rail_info->coefficients[i] in dumpPowerRailInfo()