Home
last modified time | relevance | path

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

/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp221 for (uint32_t policyIdx = 0; policyIdx < total->size(); ++policyIdx) { in TEST_F() local
222 std::vector<uint64_t> totalTimes = total->at(policyIdx); in TEST_F()
227 for (uint32_t freqIdx = 0; freqIdx < uidTimes[policyIdx].size(); ++freqIdx) { in TEST_F()
228 allUidTimes[std::min(freqIdx, totalFreqsCount - 1)] += uidTimes[policyIdx][freqIdx]; in TEST_F()
351 for (uint32_t policyIdx = 0; policyIdx < after->size(); ++policyIdx) { in TEST_F() local
352 auto timesBefore = before->at(policyIdx); in TEST_F()
353 auto timesAfter = after->at(policyIdx); in TEST_F()
Dcputimeinstate.cpp289 for (uint32_t policyIdx = 0; policyIdx < gNPolicies; ++policyIdx) { in getTotalCpuFreqTimes() local
290 if (freqIdx >= gPolicyFreqs[policyIdx].size()) continue; in getTotalCpuFreqTimes()
291 for (const auto &cpu : gPolicyCpus[policyIdx]) { in getTotalCpuFreqTimes()
292 out[policyIdx][freqIdx] += vals[gCpuIndexMap[cpu]]; in getTotalCpuFreqTimes()