Package 

Class LogTime


  • 
    public final class LogTime
    
                        

    A class for logging elapsed real time in millis.

    • Method Summary

      Modifier and Type Method Description
      static long getLogTime() Returns the current time in either millis or nanos depending on the api level to be used with getElapsedMillis.
      static double getElapsedMillis(longĀ logTime) Returns the time elapsed since the given logTime in millis.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.