SetTimeSyncEvent

data class SetTimeSyncEvent(val nt: Long = System.nanoTime(), val ts: Long = System.currentTimeMillis(), val unit: String, val timeStamps: String) : SessionEvent

Represents an event describing a time synchronization point. The format for remote time is date +%s%N (Unix cli utility) or System.currentTimeMillis().

Constructors

Link copied to clipboard
constructor(nt: Long = System.nanoTime(), ts: Long = System.currentTimeMillis(), unit: String, timeStamps: String)

Properties

Link copied to clipboard
open override val nt: Long

Event timestamp in nanoseconds (more precise, but overflows).

Link copied to clipboard

Timestamp of the remote 'unit'

Link copied to clipboard
open override val ts: Long

Event timestamp in milliseconds.

Link copied to clipboard

The entity reporting its local time

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String