implementation/src/main/java/io/smallrye/metrics/app/SimpleTimerImpl.java
public long stop() {
            final long elapsed = clock.getTick() - startTime;
            timer.update(Duration.ofNanos(elapsed));
            return elapsed;
        }
/**
         * Updates the timer with the difference between current and start time. Call to this method will
         * not reset the start time. Multiple calls result in multiple updates.
         *
         * @return the elapsed time in nanoseconds
         */
Updates the timer with the difference between current and start time. Call to this method will
not reset the start time. Multiple calls result in multiple updates.

@return the elapsed time in nanoseconds
Updates the timer with the difference between current and start time . Call to this method will not reset the start time . Multiple calls result in multiple updates . @return the elapsed time in nanoseconds
public long stop() {
            final long elapsed = clock.getTick() - startTime;
            timer.update(Duration.ofNanos(elapsed));
            return elapsed;
        }
public long stop ( ) { final long elapsed = clock . getTick ( ) - startTime ; timer . update ( Duration . ofNanos ( elapsed ) ) ; return elapsed ; }
Updates the timer with the difference between current and start time.
Updates the timer with the difference between current and start time .