public final class LogTime extends Object
Modifier and Type | Method and Description |
---|---|
static double |
getElapsedMillis(long logTime)
Returns the time elapsed since the given logTime in millis.
|
static long |
getLogTime()
Returns the current time in either millis or nanos depending on the api level to be used with
getElapsedMillis(long) . |
public static long getLogTime()
getElapsedMillis(long)
.public static double getElapsedMillis(long logTime)
logTime
- The start time of the event.