Searched refs:PowerSample (Results 1 – 2 of 2) sorted by relevance
38 struct PowerSample { struct46 std::vector<std::queue<PowerSample>> power_history; argument53 std::unordered_map<std::string, PowerSample> prev_energy_info_map;87 float updateAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history);93 std::unordered_map<std::string, PowerSample> energy_info_map_;
43 bool calculateAvgPower(std::string_view power_rail, const PowerSample &last_sample, in calculateAvgPower()44 const PowerSample &curr_sample, float *avg_power) { in calculateAvgPower()90 std::vector<std::queue<PowerSample>> power_history; in registerPowerRailsToWatch()109 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()117 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()239 std::queue<PowerSample> *power_history) { in updateAveragePower()