Searched refs:numClusters (Results 1 – 5 of 5) sorted by relevance
473 int numClusters = clusterStartIndices.length; in getBucketStartIndices() local477 if (numClusters > targetNumBuckets) { in getBucketStartIndices()482 for (int clusterIdx = 0; clusterIdx < numClusters; clusterIdx++) { in getBucketStartIndices()488 if (clusterIdx != numClusters - 1) { in getBucketStartIndices()489 numBucketsInCluster = targetNumBuckets / numClusters; in getBucketStartIndices()493 int previousBucketsInCluster = targetNumBuckets / numClusters; in getBucketStartIndices()495 targetNumBuckets - (previousBucketsInCluster * (numClusters - 1)); in getBucketStartIndices()
133 final int numClusters = 2; in predictTest() local139 List<KMeans.Mean> means = mKMeans.predict(numClusters, X); in predictTest()141 assertEquals("Expected number of clusters is invalid", numClusters, means.size()); in predictTest()
280 private void setCpuClusterFreqs(int numClusters, int... clusterFreqs) { in setCpuClusterFreqs() argument281 assertEquals(numClusters, clusterFreqs.length); in setCpuClusterFreqs()282 when(mPowerProfile.getNumCpuClusters()).thenReturn(numClusters); in setCpuClusterFreqs()283 for (int i = 0; i < numClusters; ++i) { in setCpuClusterFreqs()
136 final int numClusters = 3; in testUpdateCpuTimeLocked() local137 initKernelCpuSpeedReaders(numClusters); in testUpdateCpuTimeLocked()147 for (int i = 0; i < numClusters; ++i) { in testUpdateCpuTimeLocked()153 for (int i = 0; i < numClusters; ++i) { in testUpdateCpuTimeLocked()178 for (int i = 0; i < numClusters; ++i) { in testUpdateCpuTimeLocked()
13558 final int numClusters = clusterChargeUC.length; in updateCpuEnergyConsumerStatsLocked() local13560 for (int i = 0; i < numClusters; i++) { in updateCpuEnergyConsumerStatsLocked()13573 final double[] clusterChargeRatio = new double[numClusters]; in updateCpuEnergyConsumerStatsLocked()13574 for (int cluster = 0; cluster < numClusters; cluster++) { in updateCpuEnergyConsumerStatsLocked()13596 for (int cluster = 0; cluster < numClusters; cluster++) { in updateCpuEnergyConsumerStatsLocked()14461 final int numClusters = policies.length;14493 u.mCpuClusterSpeedTimesUs.length != numClusters) {14495 u.mCpuClusterSpeedTimesUs = new LongSamplingCounter[numClusters][];14498 mWakeLockAllocationsUs = new long[numClusters][];14502 for (int cluster = 0; cluster < numClusters; cluster++) {[all …]