Use cpu_number to index mapping

Change applicable when compiling data from vals policywise.
Instead of using cpu_number as index to access vals, use cpu_number to index mapping to get index for accessing vals for a cpu.

CRs-Fixed: 3413580

Bug: 280947753
Test: CtsStatsdAtomHostTestCases.android.cts.statsdatom.cpu.CpuStatsTests#testCpuCyclesPerUidCluster

Change-Id: Id17661c50bda4cd4aecee6c7658e97c718dd4ec4
1 file changed