Home
last modified time | relevance | path

Searched refs:numCpus (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/src/swappy/
DThread.cpp31 int32_t numCpus = 0; in getNumCpus() local
32 while (CPU_ISSET(numCpus, &cpuSet)) { in getNumCpus()
33 ++numCpus; in getNumCpus()
36 return numCpus; in getNumCpus()
50 const int32_t numCpus = getNumCpus(); in setAffinity() local
54 for (int32_t cpu = 0; cpu < numCpus; ++cpu) { in setAffinity()
/frameworks/opt/gamesdk/samples/common/src/
DThread.cpp31 int32_t numCpus = 0; in getNumCpus() local
32 while (CPU_ISSET(numCpus, &cpuSet)) { in getNumCpus()
33 ++numCpus; in getNumCpus()
36 return numCpus; in getNumCpus()
50 const int32_t numCpus = getNumCpus(); in setAffinity() local
54 for (int32_t cpu = 0; cpu < numCpus; ++cpu) { in setAffinity()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DThread.cpp31 int32_t numCpus = 0; in getNumCpus() local
32 while (CPU_ISSET(numCpus, &cpuSet)) { in getNumCpus()
33 ++numCpus; in getNumCpus()
36 return numCpus; in getNumCpus()
50 const int32_t numCpus = getNumCpus(); in setAffinity() local
54 for (int32_t cpu = 0; cpu < numCpus; ++cpu) { in setAffinity()
/frameworks/base/cmds/incident_helper/src/parsers/
DCpuFreqParser.cpp40 const int numCpus = (int)header.size() - 1; in Parse() local
41 vector<pair<int, long long>> cpucores[numCpus]; in Parse()
54 for (int i=0; i<numCpus; i++) { in Parse()
67 for (int i=0; i<numCpus; i++) { in Parse()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java366 int numCpus = 1; in initCpuClusters() local
368 numCpus = (int) Math.round(sPowerItemMap.get(CPU_PER_CLUSTER_CORE_COUNT)); in initCpuClusters()
371 CPU_CLUSTER_POWER_COUNT + 0, CPU_CORE_POWER_PREFIX + 0, numCpus); in initCpuClusters()
379 private final int numCpus; field in PowerProfile.CpuClusterKey
382 String corePowerKey, int numCpus) { in CpuClusterKey() argument
386 this.numCpus = numCpus; in CpuClusterKey()
396 return mCpuClusters[cluster].numCpus; in getNumCoresInCpuCluster()
528 proto.write(PowerProfileProto.CpuCluster.CORES, mCpuClusters[cluster].numCpus); in writeToProto()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt95847 Lcom/android/internal/os/PowerProfile$CpuClusterKey;->numCpus:I