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.cpp393 auto stateResidency = stateResidencies.find(id); in getPowerEntityStateResidencyData() local
394 if (stateResidency != stateResidencies.end()) { in getPowerEntityStateResidencyData()
395 results.emplace_back(stateResidency->second); in getPowerEntityStateResidencyData()
439 for (auto stateResidency : result.stateResidencyData) { in DumpResidencyDataToFd() local
443 .at(stateResidency.powerEntityStateId) in DumpResidencyDataToFd()
445 stateResidency.totalTimeInStateMs, stateResidency.totalStateEntryCount, in DumpResidencyDataToFd()
446 stateResidency.lastEntryTimestampMs); in DumpResidencyDataToFd()