Searched refs:mProcessor (Results 1 – 4 of 4) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNBenchmark.java | 50 private Processor mProcessor; field in NNBenchmark 58 mProcessor = new Processor(this, this, mTestList); in prepareInstrumentationTest() 62 mProcessor.setUseNNApi(useNNApi); in setUseNNApi() 66 mProcessor.setCompleteInputSet(completeInputSet); in setCompleteInputSet() 71 mProcessor.enableCompilationCachingBenchmarks( in enableCompilationCachingBenchmarks() 89 if (mProcessor != null) { in onPause() 90 mProcessor.exitWithTimeout(PROCESSOR_TERMINATION_TIMEOUT_MS); in onPause() 91 mProcessor = null; in onPause() 99 intent.putExtra(EXTRA_RESULTS_RESULTS, mProcessor.getTestResults()); in onBenchmarkFinish() 124 mProcessor = new Processor(this, this, mTestList); in onResume() [all …]
|
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/ |
D | BenchmarkJobService.java | 50 private Processor mProcessor; field in BenchmarkJobService 79 mProcessor = new Processor(this, this, randomModelList()); in doBenchmark() 80 mProcessor.setUseNNApi(true); in doBenchmark() 81 mProcessor.setToggleLong(true); in doBenchmark() 82 mProcessor.setMaxRunIterations(1); in doBenchmark() 83 processorRunner.submit(mProcessor); in doBenchmark() 87 mProcessor.exit(); in onBenchmarkFinish()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 109 final Processor mProcessor; field in DriverLivenessChecker 115 mProcessor = new Processor(context, in DriverLivenessChecker() 125 mProcessor.setUseNNApi(true); in DriverLivenessChecker() 126 mProcessor.setCompleteInputSet(false); in DriverLivenessChecker() 127 mProcessor.setNnApiAcceleratorName(acceleratorName); in DriverLivenessChecker() 139 BenchmarkResult modelExecutionResult = mProcessor.getInstrumentationResult( in call()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 246 private final Processor mProcessor; 254 mProcessor = new Processor(context, mNoOpCallback, new int[0]); 255 mProcessor.setUseNNApi(true); 256 mProcessor.setNnApiAcceleratorName(acceleratorName); 257 mProcessor.setRunModelCompilationOnly(true); 274 mProcessor.getInstrumentationResult(mTestModelEntry, 0, 0);
|