Home
last modified time | relevance | path

Searched refs:mProcessor (Results 1 – 2 of 2) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNBenchmark.java46 private Processor mProcessor; field in NNBenchmark
54 mProcessor = new Processor(this, this, mTestList); in prepareInstrumentationTest()
58 mProcessor.setUseNNApi(useNNApi); in setUseNNApi()
62 mProcessor.setCompleteInputSet(completeInputSet); in setCompleteInputSet()
78 if (mProcessor != null) { in onPause()
79 mProcessor.exitWithTimeout(30000l); in onPause()
80 mProcessor = null; in onPause()
88 intent.putExtra(EXTRA_RESULTS_RESULTS, mProcessor.getTestResults()); in onBenchmarkFinish()
112 mProcessor = new Processor(this, this, mTestList); in onResume()
113 mProcessor.setToggleLong(i.getBooleanExtra(EXTRA_ENABLE_LONG, false)); in onResume()
[all …]
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java50 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 processorRunner.submit(mProcessor); in doBenchmark()
86 mProcessor.exit(); in onBenchmarkFinish()