Lines Matching refs:cluster
312 private static final String POWER_CPU_CLUSTER_SPEED_PREFIX = "cpu.speeds.cluster";
313 private static final String POWER_CPU_CLUSTER_ACTIVE_PREFIX = "cpu.active.cluster";
327 for (int cluster = 0; cluster < array.length; cluster++) {
328 int numCpusInCluster = (int) Math.round(array[cluster]);
329 mCpuClusters[cluster] = new CpuClusterKey(
330 POWER_CPU_CLUSTER_SPEED_PREFIX + cluster,
331 POWER_CPU_CLUSTER_ACTIVE_PREFIX + cluster,
365 public double getAveragePowerForCpu(int cluster, int step) {
366 if (cluster >= 0 && cluster < mCpuClusters.length) {
367 return getAveragePower(mCpuClusters[cluster].powerKey, step);