Class NanotimeUtil
- java.lang.Object
-
- org.opendaylight.bgpcep.programming.NanotimeUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Nanotime
currentNanoTime()
Returns calibrated current JVM nano time.static Nanotime
currentTime()
Returns current time in nanoseconds.
-
-
-
Method Detail
-
currentTime
public static Nanotime currentTime()
Returns current time in nanoseconds.- Returns:
- Nanotime object filled with current time in nanoseconds.
-
currentNanoTime
public static Nanotime currentNanoTime()
Returns calibrated current JVM nano time.- Returns:
- Nanotime object filled with current JVM nano time.
-
-