Package com.bumptech.glide.util
Class LogTime
java.lang.Object
com.bumptech.glide.util.LogTime
A class for logging elapsed real time in millis.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetElapsedMillis(long logTime) Returns the time elapsed since the given logTime in millis.static longReturns the current time in either millis or nanos depending on the api level to be used withgetElapsedMillis(long).
-
Method Details
-
getLogTime
public static long getLogTime()Returns the current time in either millis or nanos depending on the api level to be used withgetElapsedMillis(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.
-