Home
last modified time | relevance | path

Searched refs:Processor (Results 1 – 7 of 7) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRunModelsInParallel.java26 import com.android.nn.benchmark.core.Processor;
55 private final Set<Processor> activeTests = new HashSet<>();
111 Processor testProcessor = createSubTestRunner(mTestList, i); in call()
120 private Processor createSubTestRunner(final int[] testList, final int testIndex) { in createSubTestRunner()
121 final Processor result = new Processor(mContext, new Processor.Callback() { in createSubTestRunner()
147 for (final Processor test : activeTests) { in endTests()
DPerformanceDegradationTest.java26 import com.android.nn.benchmark.core.Processor;
48 private static final Processor.Callback mNoOpCallback = new Processor.Callback() {
229 Processor benchmarkProcessor = new Processor(mContext, mNoOpCallback, new int[0]); in modelPerformanceCollector()
247 private final Processor mProcessor;
255 mProcessor = new Processor(context, mNoOpCallback, new int[0]);
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java28 import com.android.nn.benchmark.core.Processor;
47 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findTestModelRunningOnAccelerator()
58 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findAllTestModelsRunningOnAccelerator()
110 final Processor mProcessor;
116 mProcessor = new Processor(context, in DriverLivenessChecker()
117 new Processor.Callback() { in DriverLivenessChecker()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNBenchmark.java28 import com.android.nn.benchmark.core.Processor;
36 public class NNBenchmark extends Activity implements Processor.Callback {
51 private Processor mProcessor;
59 mProcessor = new Processor(this, this, mTestList); in prepareInstrumentationTest()
129 mProcessor = new Processor(this, this, mTestList); in onResume()
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java31 import com.android.nn.benchmark.core.Processor;
41 public class BenchmarkJobService extends JobService implements Processor.Callback {
51 private Processor mProcessor;
80 mProcessor = new Processor(this, this, randomModelList()); in doBenchmark()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java33 public class Processor implements Runnable { class
54 private Processor.Callback mCallback;
73 public Processor(Context context, Processor.Callback callback, int[] testList) { in Processor() method in Processor
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java35 import com.android.nn.benchmark.core.Processor;
178 return Processor.isTestModelSupportedByAccelerator( in modelsForAccelerator()