Searched refs:power_history (Results 1 – 3 of 3) sorted by relevance
49 for (size_t i = 0; i < power_status_pair.second.power_history.size(); ++i) { in setPowerDataToDefault()50 for (size_t j = 0; j < power_status_pair.second.power_history[i].size(); ++j) { in setPowerDataToDefault()51 power_status_pair.second.power_history[i].pop(); in setPowerDataToDefault()52 power_status_pair.second.power_history[i].emplace(power_sample); in setPowerDataToDefault()79 std::vector<std::queue<PowerSample>> power_history; in registerPowerRailsToWatch() local101 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()103 power_history[i].emplace(power_sample); in registerPowerRailsToWatch()109 power_history.emplace_back(std::queue<PowerSample>()); in registerPowerRailsToWatch()111 power_history[0].emplace(power_sample); in registerPowerRailsToWatch()116 if (power_history.size()) { in registerPowerRailsToWatch()[all …]
46 std::vector<std::queue<PowerSample>> power_history; member77 bool getAveragePower(std::string_view power_rail, std::queue<PowerSample> *power_history,
495 auto power_history = in dumpPowerRailInfo() local496 power_status_pair.second.at(power_rail_pair.first).power_history; in dumpPowerRailInfo()523 for (size_t i = 0; i < power_history.size(); ++i) { in dumpPowerRailInfo()536 while (power_history[i].size() > 0) { in dumpPowerRailInfo()537 const auto power_sample = power_history[i].front(); in dumpPowerRailInfo()538 power_history[i].pop(); in dumpPowerRailInfo()