Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java75 private int mMaxIterations = 0; field in BenchmarkState
125 mMaxIterations = (int) (TARGET_TEST_DURATION_NS / (warmupDuration / iterations)); in beginBenchmark()
126 mMaxIterations = Math.min(MAX_TEST_ITERATIONS, in beginBenchmark()
127 Math.max(mMaxIterations, MIN_TEST_ITERATIONS)); in beginBenchmark()
137 mResults.add((currentTime - mStartTimeNs - mPausedDurationNs) / mMaxIterations); in startNextTestRun()
174 if (mIteration >= mMaxIterations) { in keepRunning()
DManualBenchmarkState.java131 private int mMaxIterations = 0; field in ManualBenchmarkState
182 mMaxIterations = (int) (mTargetTestDurationNs / (warmupDuration / iterations)); in beginBenchmark()
183 mMaxIterations = Math.min(MAX_TEST_ITERATIONS, in beginBenchmark()
184 Math.max(mMaxIterations, MIN_TEST_ITERATIONS)); in beginBenchmark()
227 final boolean keepRunning = mResults.size() < mMaxIterations; in keepRunning()
/frameworks/base/core/java/com/android/internal/ml/clustering/
DKMeans.java37 private final int mMaxIterations; field in KMeans
49 mMaxIterations = maxIterations; in KMeans()
78 for (int i = 0; i < mMaxIterations; i++) { in predict()