Class ZeroTimeClock
java.lang.Object
io.opencensus.common.Clock
io.opencensus.internal.ZeroTimeClock
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZeroTimeClockReturns aZeroTimeClock.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.
-