SystemTimeProvider

A TimeProvider implementation based on System time.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun realtimeNs(): Long

Returns the timestamp in nanoseconds based on Timebase.REALTIME.

Link copied to clipboard
open fun realtimeUs(): Long

Returns the timestamp in microseconds based on Timebase.REALTIME.

Link copied to clipboard

Returns the timestamp in nanoseconds for the given timebase.

Link copied to clipboard

Returns the timestamp in microseconds for the given timebase.

Link copied to clipboard
open override fun uptimeNs(): Long

Returns the timestamp in nanoseconds based on Timebase.UPTIME.

Link copied to clipboard
open fun uptimeUs(): Long

Returns the timestamp in microseconds based on Timebase.UPTIME.