Class Timer.Sample

  • Enclosing interface:
    Timer

    public static class Timer.Sample
    extends Object
    • Method Detail

      • stop

        public long stop​(Timer timer)
        Records the duration of the operation
        Returns:
        The total duration of the sample in nanoseconds