Home
last modified time | relevance | path

Searched refs:stateId (Results 1 – 5 of 5) sorted by relevance

/device/google/coral/powerstats/
DIaxxxStateResidencyDataProvider.cpp58 for (uint32_t stateId = MPLL_CLK_3000; stateId != NUM_MPLL_CLK_FREQ; stateId++) { in getResults() local
59 stateResidencyData[stateId] = PowerEntityStateResidencyData{ in getResults()
60 .powerEntityStateId = stateId, in getResults()
61 .totalTimeInStateMs = pwrStatsCount.mpllCumulativeDur[stateId], in getResults()
62 .totalStateEntryCount = pwrStatsCount.mpll_cumulative_cnts[stateId], in getResults()
63 .lastEntryTimestampMs = pwrStatsCount.mpllTimeStamp[stateId]}; in getResults()
82 for (uint32_t stateId = MPLL_CLK_3000; stateId <= NUM_MPLL_CLK_FREQ; stateId++) { in getStateSpaces() local
83 states[stateId] = PowerEntityStateInfo{ in getStateSpaces()
84 .powerEntityStateId = stateId, in getStateSpaces()
85 .powerEntityStateName = static_cast<std::string>(mStateNames[stateId])}; in getStateSpaces()
/device/google/gs-common/powerstats/
DDvfsStateResidencyDataProvider.cpp94 int32_t temp, powerEntityIndex, stateId = -1; in getStateResidencies() local
111 stateId = matchState(line, mPowerEntities[powerEntityIndex]); in getStateResidencies()
113 if (stateId >= 0) { in getStateResidencies()
115 it->second[stateId].totalTimeInStateMs = in getStateResidencies()
117 it->second[stateId].totalStateEntryCount = count; in getStateResidencies()
136 int32_t stateId = 0; in getInfo() local
138 stateInfo[stateId] = State{ in getInfo()
139 .id = stateId, in getInfo()
142 stateId++; in getInfo()
DCpupmStateResidencyDataProvider.cpp104 int32_t temp, entityIndex, stateId = -1; in getStateResidencies() local
132 stateId = temp; in getStateResidencies()
135 if (stateId < 0) continue; in getStateResidencies()
144 it->second[stateId].totalTimeInStateMs = duration / US_TO_MS + sleepDurationMs; in getStateResidencies()
145 it->second[stateId].totalStateEntryCount = count; in getStateResidencies()
163 int32_t stateId = 0; in getInfo() local
165 stateInfo[stateId] = State{ in getInfo()
166 .id = stateId, in getInfo()
169 stateId++; in getInfo()
DAocStateResidencyDataProvider.cpp64 int32_t stateId = 0; in getStateResidencies() local
81 r.id = stateId++; in getStateResidencies()
96 int32_t stateId = 0; in getInfo() local
112 i.id = stateId++; in getInfo()
DAocTimedStateResidencyDataProvider.cpp86 int32_t stateId = 0; in getStateResidenciesAsync() local
103 r.id = stateId++; in getStateResidenciesAsync()