Searched refs:power_history (Results 1 – 3 of 3) sorted by relevance
90 std::vector<std::queue<PowerSample>> power_history; in registerPowerRailsToWatch() local109 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()111 power_history[i].emplace(curr_sample); in registerPowerRailsToWatch()117 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()119 power_history[0].emplace(curr_sample); in registerPowerRailsToWatch()127 if (power_history.size()) { in registerPowerRailsToWatch()130 .power_history = power_history, in registerPowerRailsToWatch()239 std::queue<PowerSample> *power_history) { in updateAveragePower() argument245 const auto last_sample = power_history->front(); in updateAveragePower()248 power_history->pop(); in updateAveragePower()[all …]
46 std::vector<std::queue<PowerSample>> power_history; member87 float updateAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history);
570 auto power_history = power_status_map.at(power_rail_pair.first).power_history; in dumpPowerRailInfo() local595 for (size_t i = 0; i < power_history.size(); ++i) { in dumpPowerRailInfo()608 while (power_history[i].size() > 0) { in dumpPowerRailInfo()609 const auto power_sample = power_history[i].front(); in dumpPowerRailInfo()610 power_history[i].pop(); in dumpPowerRailInfo()