com.bumptech.glide.util
Class LogTime

java.lang.Object
  extended by com.bumptech.glide.util.LogTime

public class LogTime
extends Object

A class for logging elapsed real time in millis.


Constructor Summary
LogTime()
           
 
Method Summary
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogTime

public LogTime()
Method Detail

getLogTime

public static long getLogTime()
Returns the current time in either millis or nanos depending on the api level to be used with getElapsedMillis(long).


getElapsedMillis

public static double getElapsedMillis(long logTime)
Returns the time elapsed since the given logTime in millis.

Parameters:
logTime - The start time of the event.