Home
last modified time | relevance | path

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

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStat.java148 public static double calcRatePerSec(double change, double timeInMSec) { in calcRatePerSec() argument
149 if (timeInMSec == 0) { in calcRatePerSec()
152 return change * 1000.0 / timeInMSec; in calcRatePerSec()
159 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { in calcRatePerSecArray() argument
160 double[] result = new double[timeInMSec.length]; in calcRatePerSecArray()
162 for (int i = 0; i < timeInMSec.length; i++) { in calcRatePerSecArray()
163 if (timeInMSec[i] == 0) { in calcRatePerSecArray()
166 result[i] = change / timeInMSec[i]; in calcRatePerSecArray()