Clock

class Clock

Utility class for wrapping a volatile counter that can be polled.

Constructors

Link copied to clipboard
fun Clock()

Functions

Link copied to clipboard
fun get(): Long

Poll the monotonic counter of the clock.

Link copied to clipboard
fun increment()

Advance the clock.