Documentation of 'org.neuroph.util.benchmark.Stopwatch' Java class
Stopwatch
org.neuroph.util.benchmark

Class Stopwatch

    • Constructor Summary

      Constructors 
      Constructor and Description
      Stopwatch() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      long getElapsedTime()
      Returns elapsed time in milliseconds between calls to start and stop methods If the watch has never been started, returns zero
      void reset()
      Resets the stopwatch (clears start and stop time)
      void start()
      Starts measuring time
      void stop()
      Stops measuring time
      • Methods inherited from class java.lang.Object

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

      • Stopwatch

        public Stopwatch()
    • Method Detail

      • start

        public void start()
        Starts measuring time
      • stop

        public void stop()
        Stops measuring time
      • getElapsedTime

        public long getElapsedTime()
        Returns elapsed time in milliseconds between calls to start and stop methods If the watch has never been started, returns zero
      • reset

        public void reset()
        Resets the stopwatch (clears start and stop time)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.