Searched refs:timeInMSec (Results 1 – 1 of 1) sorted by relevance
148 public static double calcRatePerSec(double change, double timeInMSec) { in calcRatePerSec() argument149 if (timeInMSec == 0) { in calcRatePerSec()152 return change * 1000.0 / timeInMSec; in calcRatePerSec()159 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { in calcRatePerSecArray() argument160 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()