Interface TimeMeter

    • Method Detail

      • currentTimeNanos

        long currentTimeNanos()
        Returns current time in nanosecond precision, but not necessarily nanosecond resolution.
        Returns:
        current time in nanoseconds
      • isWallClockBased

        boolean isWallClockBased()
        Returns true if implementation of clock behaves the similar way as System.currentTimeMillis(), in other words if implementation can be used as wall clock.
        Returns:
        true if implementation can be used as wall clock