Searched refs:cores (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelUidCpuActiveTimeReader.java | 146 final int cores = buf.get(); in readImpl() local 147 if (mCores != 0 && cores != mCores) { in readImpl() 148 Slog.wtf(TAG, "Cpu active time wrong # cores: " + cores); in readImpl() 151 mCores = cores; in readImpl() 152 if (cores <= 0 || buf.remaining() % (cores + 1) != 0) { in readImpl() 154 "Cpu active time format error: " + buf.remaining() + " / " + (cores in readImpl() 158 int numUids = buf.remaining() / (cores + 1); in readImpl()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelUidCpuActiveTimeReaderTest.java | 61 final int cores = 8; in testReadDelta() local 64 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadDelta() 108 final int cores = 8; in testReadAbsolute() local 111 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadAbsolute() 132 final int cores = 8; in testReadDelta_malformedData() local 134 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadDelta_malformedData() 163 times3[uids.length - 1][cores - 1] *= -1; in testReadDelta_malformedData() 173 for (int i = 0; i < cores; i++) { in testReadDelta_malformedData() 185 System.arraycopy(times3[uids.length - 1], 0, times4[uids.length - 1], 0, cores); in testReadDelta_malformedData() 186 times4[uids.length - 1][cores - 1] -= 100; in testReadDelta_malformedData() [all …]
|
D | KernelUidCpuClusterTimeReaderTest.java | 65 final int cores = 6; in testReadDelta() local 70 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadDelta() 119 final int cores = 6; in testReadAbsolute() local 124 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadAbsolute() 146 final int cores = 6; in testReadDelta_malformedData() local 151 final long[][] times = increaseTime(new long[uids.length][cores]); in testReadDelta_malformedData() 187 times3[uids.length - 1][cores - 1] *= -1; in testReadDelta_malformedData() 198 for (int i = 0; i < cores; i++) { in testReadDelta_malformedData() 210 System.arraycopy(times3[uids.length - 1], 0, times4[uids.length - 1], 0, cores); in testReadDelta_malformedData() 211 times4[uids.length - 1][cores - 1] -= 100; in testReadDelta_malformedData() [all …]
|
/frameworks/rs/perf-test-scripts/ |
D | set-cpu-freq | 46 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'` 61 for core in $cores; do 97 for core in $cores; do 137 for core in $cores; do 150 for core in $cores; do
|
D | get-freq | 40 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'` 41 for core in $cores; do
|
/frameworks/base/core/proto/android/os/ |
D | cpuinfo.proto | 59 optional int32 cpu = 1; // 400% cpu indicates 4 cores
|
D | batterystats.proto | 561 // multiple cores. 564 // multiple cores.
|
/frameworks/rs/script_api/ |
D | rs_for_each.spec | 42 locality when the processing is distributed over multiple cores.
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1903 * active: X (X is # cores) 1904 * [uid0]: [time-0] [time-1] [time-2] ... (# entries = # cores) 1917 * policy0: X policy4: Y (there are X cores on policy0, Y cores on policy4)
|
/frameworks/rs/script_api/include/ |
D | rs_for_each.rsh | 39 * locality when the processing is distributed over multiple cores.
|