Searched refs:gCpuIndexMap (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 58 static std::vector<uint32_t> gCpuIndexMap; variable 137 gCpuIndexMap = std::vector<uint32_t>(max_cpu_number+1, -1); in initGlobals() 141 gCpuIndexMap[cpu] = cpuorder++; in initGlobals() 292 out[policyIdx][freqIdx] += vals[gCpuIndexMap[cpu]]; in getTotalCpuFreqTimes() 331 std::transform(begin, end, std::begin(vals[gCpuIndexMap[cpu]].ar), begin, in getUidCpuFreqTimes() 398 std::transform(begin, end, std::begin(vals[gCpuIndexMap[cpu]].ar), begin, in getUidsUpdatedCpuFreqTimes() 454 std::transform(policyBegin, policyEnd, std::begin(vals[gCpuIndexMap[cpu]].policy), in getUidConcurrentTimes() 523 std::transform(policyBegin, policyEnd, std::begin(vals[gCpuIndexMap[cpu]].policy), in getUidsUpdatedConcurrentTimes() 657 std::transform(begin, end, std::begin(vals[gCpuIndexMap[cpu]].ar), begin, in getAggregatedTaskCpuFreqTimes()
|