/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 99 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()
|
D | RunModelsInParallel.java | 59 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()
|
D | RunModelsInMultipleProcesses.java | 57 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/ |
D | NNPerformanceDegradationTest.java | 56 mThreadCount = threadCount; in NNPerformanceDegradationTest() 68 private final int mThreadCount; field in NNPerformanceDegradationTest 96 mThreadCount, in setUp() local
|
D | NNParallelInferenceTest.java | 52 private final int mThreadCount; field in NNParallelInferenceTest 61 mThreadCount = threadCount; in NNParallelInferenceTest() 73 runAllModelsOnNThreadsForOnAccelerator(mThreadCount, mTestDuration, in setUp()
|
D | NNMultipleProcessTest.java | 57 protected final int mThreadCount; field in NNMultipleProcessTest 68 mThreadCount = threadCount; in NNMultipleProcessTest()
|
D | NNMultipleProcessModelLoadTest.java | 55 mProcessCount, mThreadCount, mDuration, mAcceleratorName, in getRunModelsInMultipleProcessesConfigIntent() local
|
D | NNMultipleProcessInferenceTest.java | 46 mProcessCount, mThreadCount, mDuration, in getRunModelsInMultipleProcessesConfigIntent() local
|
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/ |
D | MainActivity.java | 65 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()
|