Home
last modified time | relevance | path

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

/hardware/google/pixel/powerstats/
DPowerStats.cpp175 auto stateResidency = stateResidencies.find(id); in getPowerEntityStateResidencyData() local
176 if (stateResidency != stateResidencies.end()) { in getPowerEntityStateResidencyData()
177 results.emplace_back(stateResidency->second); in getPowerEntityStateResidencyData()
221 for (auto stateResidency : result.stateResidencyData) { in DumpResidencyDataToFd() local
225 .at(stateResidency.powerEntityStateId).c_str(), in DumpResidencyDataToFd()
226 stateResidency.totalTimeInStateMs, stateResidency.totalStateEntryCount, in DumpResidencyDataToFd()
227 stateResidency.lastEntryTimestampMs); in DumpResidencyDataToFd()
264 for (auto stateResidency : prevResult.stateResidencyData) { in DumpResidencyDataDiffToFd() local
266 .emplace(stateResidency.powerEntityStateId, stateResidency); in DumpResidencyDataDiffToFd()
279 for (auto stateResidency : result.stateResidencyData) { in DumpResidencyDataDiffToFd() local
[all …]
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp394 auto stateResidency = stateResidencies.find(id); in getPowerEntityStateResidencyData() local
395 if (stateResidency != stateResidencies.end()) { in getPowerEntityStateResidencyData()
396 results.emplace_back(stateResidency->second); in getPowerEntityStateResidencyData()
440 for (auto stateResidency : result.stateResidencyData) { in DumpResidencyDataToFd() local
444 .at(stateResidency.powerEntityStateId) in DumpResidencyDataToFd()
446 stateResidency.totalTimeInStateMs, stateResidency.totalStateEntryCount, in DumpResidencyDataToFd()
447 stateResidency.lastEntryTimestampMs); in DumpResidencyDataToFd()