Class StopWatch

    • Constructor Detail

      • StopWatch

        public StopWatch()
    • Method Detail

      • start

        public void start()
        Begin measuring elapsed time
      • stop

        public void stop()
        End measuring elapsed time
      • reset

        public void reset()
        End time interval measurement and set the elapsed time to 0
      • getElapsedTicks

        public long getElapsedTicks()
        Gets the total elapsed Ticks 1 Tick = 100 nanoseconds
        Returns:
        the elapsed ticks
      • getElapsedMilliseconds

        public long getElapsedMilliseconds()
        Return the total elapsed MilliSeconds 1 millisecond = 1000000 nanoseconds
        Returns:
        the elapsed milliseconds