Home
last modified time | relevance | path

Searched refs:getMeanTimeSec (Results 1 – 4 of 4) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DLatencyResult.java114 results.putFloat(prefix + "_avg", getMeanTimeSec() * 1000.0f); in putToBundle()
123 + "getMeanTimeSec()=" + getMeanTimeSec() in toString()
133 public float getMeanTimeSec() { return mTotalTimeSec / mIterations; } in getMeanTimeSec() method in LatencyResult
144 return df.format(rebase(getMeanTimeSec(), baselineSec)) + "X, n=" + mIterations in getSummary()
145 + ", μ=" + df.format(getMeanTimeSec() * 1000.0) in getSummary()
DBenchmarkResult.java175 public float getMeanTimeSec() { in getMeanTimeSec() method in BenchmarkResult
176 return mLatencyInference.getMeanTimeSec(); in getMeanTimeSec()
181 : mLatencyCompileWithoutCache.getMeanTimeSec(); in getCompileWithoutCacheMeanTimeSec()
185 return mLatencySaveToCache == null ? 0.0f : mLatencySaveToCache.getMeanTimeSec(); in getSaveToCacheMeanTimeSec()
189 return mLatencyPrepareFromCache == null ? 0.0f : mLatencyPrepareFromCache.getMeanTimeSec(); in getPrepareFromCacheMeanTimeSec()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java163 baseline.getMeanTimeSec())); in testDegradationForModels()
205 mTestName, benchmarkWithOtherCompilingThread.getMeanTimeSec())); in testDegradationForModels()
207 int performanceDegradation = (int) (((benchmarkWithOtherCompilingThread.getMeanTimeSec() in testDegradationForModels()
208 / baseline.getMeanTimeSec()) - 1.0) * 100); in testDegradationForModels()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNControls.java163 mResults[id[ct]] = ((BenchmarkResult) r[ct]).getMeanTimeSec(); in onActivityResult()