Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dpower_files.h33 struct PowerSample { struct
46 std::vector<std::queue<PowerSample>> power_history; argument
77 bool getAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history,
112 std::unordered_map<std::string, PowerSample> energy_info_map_;
Dpower_files.cpp46 PowerSample power_sample = {}; in setPowerDataToDefault()
79 std::vector<std::queue<PowerSample>> power_history; in registerPowerRailsToWatch()
80 PowerSample power_sample = { in registerPowerRailsToWatch()
101 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()
109 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()
233 std::queue<PowerSample> *power_history, bool power_sample_update, in getAveragePower()