Class MillisClock
java.lang.Object
io.opencensus.common.Clock
io.opencensus.implcore.common.MillisClock
-
Method Summary
Modifier and TypeMethodDescriptionstatic MillisClockReturns aMillisClock.now()Obtains the current instant from this clock.longnowNanos()Returns a time measurement with nanosecond precision that can only be used to calculate elapsed time.
-
Method Details
-
getInstance
-
now
-
nowNanos
public long nowNanos()Description copied from class:ClockReturns a time measurement with nanosecond precision that can only be used to calculate elapsed time.
-