Searched refs:BenchmarkResult (Results 1 – 12 of 12) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 52 private BenchmarkResult mTestResults[]; 78 mTestResults = new BenchmarkResult[mTestList.length]; in Processor() 133 public BenchmarkResult getInstrumentationResult( in getInstrumentationResult() 138 … BenchmarkResult result = mRunModelCompilationOnly ? null : getBenchmark(warmupTimeSeconds, in getInstrumentationResult() 190 private BenchmarkResult runBenchmarkLoop(float minTime, boolean completeInputSet) in runBenchmarkLoop() 204 return BenchmarkResult.fromInferenceResults( in runBenchmarkLoop() 207 ? BenchmarkResult.BACKEND_TFLITE_NNAPI in runBenchmarkLoop() 208 : BenchmarkResult.BACKEND_TFLITE_CPU, in runBenchmarkLoop() 213 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop() 220 int maxIterations, BenchmarkResult benchmarkResult) throws IOException { in runCompilationBenchmarkLoop() [all …]
|
D | BenchmarkResult.java | 29 public class BenchmarkResult implements Parcelable { class 66 public BenchmarkResult(LatencyResult inferenceLatency, in BenchmarkResult() method in BenchmarkResult 98 public BenchmarkResult(String benchmarkError) { in BenchmarkResult() method in BenchmarkResult 106 protected BenchmarkResult(Parcel in) { in BenchmarkResult() method in BenchmarkResult 157 public static final Parcelable.Creator<BenchmarkResult> CREATOR = 158 new Parcelable.Creator<BenchmarkResult>() { 160 public BenchmarkResult createFromParcel(Parcel in) { 161 return new BenchmarkResult(in); 165 public BenchmarkResult[] newArray(int size) { 166 return new BenchmarkResult[size]; [all …]
|
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/ |
D | NNAccuracyTest.java | 30 import com.android.nn.benchmark.core.BenchmarkResult; 128 BenchmarkResult benchmarkResult = BenchmarkResult.fromInferenceResults( in testDriver() 129 mModel.mEntry.mModelName, BenchmarkResult.BACKEND_TFLITE_NNAPI, in testDriver()
|
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/ |
D | NNAccuracyTest.java | 30 import com.android.nn.benchmark.core.BenchmarkResult; 128 BenchmarkResult benchmarkResult = BenchmarkResult.fromInferenceResults( in testDriver() 129 mModel.mEntry.mModelName, BenchmarkResult.BACKEND_TFLITE_NNAPI, in testDriver()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 25 import com.android.nn.benchmark.core.BenchmarkResult; 155 final BenchmarkResult baseline = modelPerformanceCollector(inferenceModelEntry, in testDegradationForModels() 178 Callable<BenchmarkResult> performanceWithOtherCompilingThreadCollector = in testDegradationForModels() 184 BenchmarkResult benchmarkWithOtherCompilingThread = testExecutor.submit( in testDegradationForModels() 225 private Callable<BenchmarkResult> modelPerformanceCollector( in modelPerformanceCollector() 235 final BenchmarkResult result = in modelPerformanceCollector()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNControls.java | 33 import com.android.nn.benchmark.core.BenchmarkResult; 140 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary() 157 BenchmarkResult br = (BenchmarkResult) r[ct]; in onActivityResult() 163 mResults[id[ct]] = ((BenchmarkResult) r[ct]).getMeanTimeSec(); in onActivityResult()
|
D | BenchmarkTestBase.java | 32 import com.android.nn.benchmark.core.BenchmarkResult; 180 BenchmarkResult mResult; 212 public BenchmarkResult getBenchmark() { in getBenchmark() 248 BenchmarkResult bmValue = ta.getBenchmark(); in runTest()
|
D | NNBenchmark.java | 27 import com.android.nn.benchmark.core.BenchmarkResult; 140 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/util/ |
D | CSVWriter.java | 21 import com.android.nn.benchmark.core.BenchmarkResult; 69 public void write(BenchmarkResult benchmarkResult) throws IOException { in write()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 25 import com.android.nn.benchmark.core.BenchmarkResult; 139 BenchmarkResult modelExecutionResult = mProcessor.getInstrumentationResult( in call()
|
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/ |
D | BenchmarkJobService.java | 30 import com.android.nn.benchmark.core.BenchmarkResult; 55 private BenchmarkResult mTestResults[];
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 51 BenchmarkResult = collections.namedtuple( variable 150 return BenchmarkResult(**result)
|