Searched refs:mMaxIterations (Results 1 – 3 of 3) sorted by relevance
75 private int mMaxIterations = 0; field in BenchmarkState125 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()
131 private int mMaxIterations = 0; field in ManualBenchmarkState182 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()
37 private final int mMaxIterations; field in KMeans49 mMaxIterations = maxIterations; in KMeans()78 for (int i = 0; i < mMaxIterations; i++) { in predict()