Searched refs:residency (Results 1 – 4 of 4) sorted by relevance
62 for (const auto &residency : mStateResidencies) { in getStateResidencies() local63 residencies->emplace(residency.first, residency.second); in getStateResidencies()92 std::unordered_map<std::string, std::vector<StateResidency>> residency; in getStateResidenciesAsync() local93 provider->getStateResidencies(&residency); in getStateResidenciesAsync()96 if (residency.find(curEntity) != residency.end()) { in getStateResidenciesAsync()97 for (auto &r : residency.at(curEntity)) { in getStateResidenciesAsync()
43 StateResidency residency; in getStateResidencies() local44 residency.id = HIBERNATE_STATE_ID; in getStateResidencies()49 residency.totalTimeInStateMs = usecToMs(readStat(kPrefix + "hibern8_total_us")); in getStateResidencies()50 residency.totalStateEntryCount = readStat(kPrefix + "hibern8_exit_cnt"); in getStateResidencies()51 residency.lastEntryTimestampMs = usecToMs(readStat(kPrefix + "last_hibern8_enter_time")); in getStateResidencies()53 residencies->emplace(UFS_NAME, std::vector<StateResidency>{residency}); in getStateResidencies()
70 std::unordered_map<std::string, std::vector<StateResidency>> residency; in getStateResidencies() local71 ret &= provider->getStateResidencies(&residency); in getStateResidencies()74 if (residency.find(curEntity) != residency.end()) { in getStateResidencies()75 for (auto &r : residency.at(curEntity)) { in getStateResidencies()
41 auto residency = residencies->add_residency(); in getImpl() local42 residency->set_entity_name(matches[1]); in getImpl()43 residency->set_state_name(matches[2]); in getImpl()50 residency->set_time_ms(static_cast<uint64_t>(val * 1000)); in getImpl()76 auto startResidency = start.c_state_residency().residency(); in getImpl()90 StateResidencyDump(stat.c_state_residency().residency(), output); in dumpImpl()