Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.cpp84 if (!energy_info_map_.size() && !updateEnergyValues()) { in registerPowerRailsToWatch()
103 if (!energy_info_map_.count(power_rail)) { in registerPowerRailsToWatch()
108 const auto curr_sample = energy_info_map_.at(power_rail); in registerPowerRailsToWatch()
115 if (energy_info_map_.count(power_rail_info_pair.first)) { in registerPowerRailsToWatch()
116 const auto curr_sample = energy_info_map_.at(power_rail_info_pair.first); in registerPowerRailsToWatch()
141 .prev_energy_info_map = energy_info_map_}; in registerPowerRailsToWatch()
229 energy_info_map_[railName] = { in updateEnergyValues()
241 if (!energy_info_map_.count(power_rail.data())) { in updateAveragePower()
246 const auto curr_sample = energy_info_map_.at(power_rail.data()); in updateAveragePower()
277 if (!energy_info_map_.size() && !updateEnergyValues()) { in updatePowerRail()
[all …]
Dpower_files.h93 std::unordered_map<std::string, PowerSample> energy_info_map_; variable