public class NanoClock
Clock interface with nanosecond precision and no guarantee about its origin (that is, this is only suited for measuring relative/elapsed time).
public NanoClock()
Clock interface with nanosecond precision and no guarantee about its origin (that is, this is only suited for measuring relative/elapsed time).
public double seconds()
Returns the number of seconds since an arbitrary (yet consistent) origin.
@JvmStatic @NotNull public static NanoClock system()
Returns a class NanoClock
backed by System.nanoTime.
class NanoClock
,
System.nanoTime