Class TimeMeasurement


  • public class TimeMeasurement
    extends java.lang.Object
    Class that represents a time measurement. Should only be used to measure long-running code blocks. Class is not tuned for performance.
    Author:
    brockhoff
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeMeasurement()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.UUID getID()  
      long getTime()  
      void pause()  
      void resume()  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimeMeasurement

        public TimeMeasurement()
    • Method Detail

      • start

        public void start()
      • pause

        public void pause()
      • resume

        public void resume()
      • stop

        public void stop()
      • getID

        public java.util.UUID getID()
      • getTime

        public long getTime()