Searched refs:freqIdx (Results 1 – 3 of 3) sorted by relevance
227 for (uint32_t freqIdx = 0; freqIdx < uidTimes[policyIdx].size(); ++freqIdx) { in TEST_F() local228 allUidTimes[std::min(freqIdx, totalFreqsCount - 1)] += uidTimes[policyIdx][freqIdx]; in TEST_F()232 for (uint32_t freqIdx = 0; freqIdx < totalFreqsCount; ++freqIdx) { in TEST_F() local233 ASSERT_LE(allUidTimes[freqIdx], totalTimes[freqIdx]); in TEST_F()354 for (uint32_t freqIdx = 0; freqIdx < timesAfter.size(); ++freqIdx) { in TEST_F() local355 ASSERT_NO_FATAL_FAILURE(TestCheckDelta(timesBefore[freqIdx], timesAfter[freqIdx])); in TEST_F()372 for (uint32_t freqIdx = 0; freqIdx < times[policy].size(); ++freqIdx) { in TEST_F() local373 auto before = times[policy][freqIdx]; in TEST_F()374 auto after = (*map2)[uid][policy][freqIdx]; in TEST_F()
258 auto freqIdx = getPolicyFreqIdx(i); in startTrackingUidTimes() local259 if (!freqIdx.has_value()) return false; in startTrackingUidTimes()260 if (writeToMapEntry(policyFreqIdxFd, &i, &(*freqIdx), BPF_ANY)) return false; in startTrackingUidTimes()287 for (uint32_t freqIdx = 0; freqIdx < freqCount; ++freqIdx) { in getTotalCpuFreqTimes() local288 if (findMapEntry(gTisTotalMapFd, &freqIdx, vals.data())) return {}; in getTotalCpuFreqTimes()290 if (freqIdx >= gPolicyFreqs[policyIdx].size()) continue; in getTotalCpuFreqTimes()292 out[policyIdx][freqIdx] += vals[gCpuIndexMap[cpu]]; in getTotalCpuFreqTimes()
1649 unsigned int freqIdx = 0; in prepareWave() local1650 unsigned int frequency = mpToneDesc->segments[segmentIdx].waveFreq[freqIdx]; in prepareWave()1660 frequency = mpNewToneDesc->segments[segmentIdx].waveFreq[++freqIdx]; in prepareWave()