-
public final class LogTimeA class for logging elapsed real time in millis.
-
-
Method Summary
Modifier and Type Method Description static longgetLogTime()Returns the current time in either millis or nanos depending on the api level to be used with getElapsedMillis. static doublegetElapsedMillis(longĀ logTime)Returns the time elapsed since the given logTime in millis. -
-
Method Detail
-
getLogTime
static long getLogTime()
Returns the current time in either millis or nanos depending on the api level to be used with getElapsedMillis.
-
getElapsedMillis
static double getElapsedMillis(longĀ logTime)
Returns the time elapsed since the given logTime in millis.
- Parameters:
logTime- The start time of the event.
-
-
-
-