LogTime

class LogTime

A class for logging elapsed real time in millis.

Functions

Link copied to clipboard
open fun getElapsedMillis(logTime: Long): Double
Returns the time elapsed since the given logTime in millis.
Link copied to clipboard
open fun getLogTime(): Long
Returns the current time in either millis or nanos depending on the api level to be used with getElapsedMillis.