Lines Matching refs:stateResidency
175 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
280 uint32_t stateId = stateResidency.powerEntityStateId; in DumpResidencyDataDiffToFd()
291 int64_t deltaTotalTime = stateResidency.totalTimeInStateMs - in DumpResidencyDataDiffToFd()
293 int64_t deltaTotalCount = stateResidency.totalStateEntryCount - in DumpResidencyDataDiffToFd()
295 int64_t deltaTimestamp = stateResidency.lastEntryTimestampMs - in DumpResidencyDataDiffToFd()
300 stateResidency.totalTimeInStateMs, deltaTotalTime, in DumpResidencyDataDiffToFd()
301 stateResidency.totalStateEntryCount, deltaTotalCount, in DumpResidencyDataDiffToFd()
302 stateResidency.lastEntryTimestampMs, deltaTimestamp); in DumpResidencyDataDiffToFd()
312 stateResidency.totalTimeInStateMs, stateResidency.totalStateEntryCount, in DumpResidencyDataDiffToFd()
313 stateResidency.lastEntryTimestampMs); in DumpResidencyDataDiffToFd()