Searched refs:stateResidency (Results 1 – 8 of 8) sorted by relevance
/hardware/nxp/nfc/snxxx/halimpl/power-tracker/src/ |
D | phNxpNciHal_PowerStats.cc | 53 vector<StateResidency>* stateResidency) { in getStateResidency() argument 54 if (stateResidency == nullptr) { in getStateResidency() 58 stateResidency->resize(MAX_STATES); in getStateResidency() 63 (*stateResidency)[STANDBY].id = STANDBY; in getStateResidency() 64 (*stateResidency)[STANDBY].totalTimeInStateMs = in getStateResidency() 66 (*stateResidency)[STANDBY].totalStateEntryCount = in getStateResidency() 68 (*stateResidency)[STANDBY].lastEntryTimestampMs = 0; in getStateResidency() 70 (*stateResidency)[ULPDET].id = ULPDET; in getStateResidency() 71 (*stateResidency)[ULPDET].totalTimeInStateMs = in getStateResidency() 73 (*stateResidency)[ULPDET].totalStateEntryCount = in getStateResidency() [all …]
|
/hardware/google/pixel/powerstats/ |
D | PowerStatsAidl.cpp | 97 auto stateResidency = stateResidencies.find(powerEntityName); in getStateResidency() local 98 if (stateResidency != stateResidencies.end()) { in getStateResidency() 101 .stateResidencyData = stateResidency->second, in getStateResidency() 315 for (auto stateResidency : prevResult.stateResidencyData) { in dumpStateResidency() local 316 prevResultsMap.at(prevResult.id).emplace(stateResidency.id, stateResidency); in dumpStateResidency() 328 for (const auto &stateResidency : result.stateResidencyData) { in dumpStateResidency() local 329 const char *stateName = stateNames.at(result.id).at(stateResidency.id).c_str(); in dumpStateResidency() 337 auto prevStateResidencyIt = prevEntityResultIt->second.find(stateResidency.id); in dumpStateResidency() 341 deltaTotalTime = stateResidency.totalTimeInStateMs - in dumpStateResidency() 343 deltaTotalCount = stateResidency.totalStateEntryCount - in dumpStateResidency() [all …]
|
D | PowerStats.cpp | 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 [all …]
|
/hardware/google/pixel/pwrstats_util/dataproviders/ |
D | DataProviderHelper.cpp | 44 void StateResidencyDump(const StateResidency_Residency& stateResidency, std::ostream* output) { in StateResidencyDump() argument 45 for (auto const& residency : stateResidency) { in StateResidencyDump()
|
D | DataProviderHelper.h | 26 void StateResidencyDump(const StateResidency_Residency& stateResidency, std::ostream* output);
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 394 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()
|
/hardware/interfaces/power/stats/aidl/default/ |
D | PowerStats.cpp | 104 auto stateResidency = stateResidencies.find(powerEntityName); in getStateResidency() local 105 if (stateResidency != stateResidencies.end()) { in getStateResidency() 108 .stateResidencyData = stateResidency->second, in getStateResidency()
|
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/ |
D | DisplayStateResidencyProvider.cpp | 146 auto& stateResidency = mStateResidency[id]; in aggregateStatistics() local 147 stateResidency.totalStateEntryCount = displayPresentRecord.mCount; in aggregateStatistics() 148 stateResidency.lastEntryTimestampMs = in aggregateStatistics() 150 stateResidency.totalTimeInStateMs = displayPresentRecord.mAccumulatedTimeNs / MilliToNano; in aggregateStatistics()
|