Searched refs:Processor (Results 1 – 7 of 7) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInParallel.java | 26 import com.android.nn.benchmark.core.Processor; 54 private final Set<Processor> activeTests = new HashSet<>(); 110 Processor testProcessor = createSubTestRunner(mTestList, i); in call() 119 private Processor createSubTestRunner(final int[] testList, final int testIndex) { in createSubTestRunner() 120 final Processor result = new Processor(mContext, new Processor.Callback() { in createSubTestRunner() 146 for (final Processor test : activeTests) { in endTests()
|
D | PerformanceDegradationTest.java | 26 import com.android.nn.benchmark.core.Processor; 47 private static final Processor.Callback mNoOpCallback = new Processor.Callback() { 228 Processor benchmarkProcessor = new Processor(mContext, mNoOpCallback, new int[0]); in modelPerformanceCollector() 246 private final Processor mProcessor; 254 mProcessor = new Processor(context, mNoOpCallback, new int[0]);
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 28 import com.android.nn.benchmark.core.Processor; 46 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findTestModelRunningOnAccelerator() 57 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findAllTestModelsRunningOnAccelerator() 109 final Processor mProcessor; 115 mProcessor = new Processor(context, in DriverLivenessChecker() 116 new Processor.Callback() { in DriverLivenessChecker()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNBenchmark.java | 28 import com.android.nn.benchmark.core.Processor; 35 public class NNBenchmark extends Activity implements Processor.Callback { 50 private Processor mProcessor; 58 mProcessor = new Processor(this, this, mTestList); in prepareInstrumentationTest() 124 mProcessor = new Processor(this, this, mTestList); in onResume()
|
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/ |
D | BenchmarkJobService.java | 31 import com.android.nn.benchmark.core.Processor; 40 public class BenchmarkJobService extends JobService implements Processor.Callback { 50 private Processor mProcessor; 79 mProcessor = new Processor(this, this, randomModelList()); in doBenchmark()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 33 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/ |
D | MainActivity.java | 35 import com.android.nn.benchmark.core.Processor; 178 return Processor.isTestModelSupportedByAccelerator( in modelsForAccelerator()
|