Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java99 private int mThreadCount;
111 mThreadCount = configParams.getIntExtra(THREAD_COUNT, DEFAULT_THREAD_COUNT); in init()
152 inferenceModelEntry.mModelName, mThreadCount, compilationModelEntry.mModelName)); in testDegradationForModels()
170 mThreadCount)); in testDegradationForModels()
171 final int totalThreadCount = mThreadCount + 1; in testDegradationForModels()
176 mThreadCount).toArray( in testDegradationForModels()
214 mTestName, mAcceleratorName, mThreadCount, performanceDegradation, in testDegradationForModels()
DRunModelsInParallel.java59 private int mThreadCount = 0; field in RunModelsInParallel
91 mThreadCount = configParams.getIntExtra(THREADS, 10); in init()
103 mExecutorService = Executors.newFixedThreadPool(mThreadCount); in init()
109 mParallelTestComplete = new CountDownLatch(mThreadCount); in call()
110 for (int i = 0; i < mThreadCount; i++) { in call()
DRunModelsInMultipleProcesses.java57 private int mThreadCount; field in RunModelsInMultipleProcesses
102 mThreadCount = configParams.getIntExtra(THREADS, DEFAULT_THREADS); in init()
150 "" + mTestModelEntry.mInDataSize, "" + mProcessCount, "" + mThreadCount, in call()
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DNNPerformanceDegradationTest.java56 mThreadCount = threadCount; in NNPerformanceDegradationTest()
68 private final int mThreadCount; field in NNPerformanceDegradationTest
96 mThreadCount, in setUp() local
DNNParallelInferenceTest.java52 private final int mThreadCount; field in NNParallelInferenceTest
61 mThreadCount = threadCount; in NNParallelInferenceTest()
73 runAllModelsOnNThreadsForOnAccelerator(mThreadCount, mTestDuration, in setUp()
DNNMultipleProcessTest.java57 protected final int mThreadCount; field in NNMultipleProcessTest
68 mThreadCount = threadCount; in NNMultipleProcessTest()
DNNMultipleProcessModelLoadTest.java55 mProcessCount, mThreadCount, mDuration, mAcceleratorName, in getRunModelsInMultipleProcessesConfigIntent() local
DNNMultipleProcessInferenceTest.java46 mProcessCount, mThreadCount, mDuration, in getRunModelsInMultipleProcessesConfigIntent() local
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java65 private NumberPicker mThreadCount; field in MainActivity
154 mThreadCount = (NumberPicker) findViewById(R.id.thread_count); in onCreate()
157 mThreadCount.setMinValue(1); in onCreate()
158 mThreadCount.setMaxValue(20); in onCreate()
233 int threadCount = mThreadCount.getValue(); in startInferenceTest()