Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java398 public FrequencyBucketCreator(long[] frequencies, int targetNumBuckets) { in FrequencyBucketCreator() argument
402 getBucketStartIndices(clusterStartIndices, targetNumBuckets, mNumFrequencies); in FrequencyBucketCreator()
460 int[] clusterStartIndices, int targetNumBuckets, int numFrequencies) { in getBucketStartIndices() argument
465 if (numClusters > targetNumBuckets) { in getBucketStartIndices()
466 return Arrays.copyOfRange(clusterStartIndices, 0, targetNumBuckets); in getBucketStartIndices()
477 numBucketsInCluster = targetNumBuckets / numClusters; in getBucketStartIndices()
481 int previousBucketsInCluster = targetNumBuckets / numClusters; in getBucketStartIndices()
483 targetNumBuckets - (previousBucketsInCluster * (numClusters - 1)); in getBucketStartIndices()