MonotonicMicros

A real monotonic microsecond clock. Use this for every production UtpStream.

RTT samples and the RTO timer then measure elapsed time rather than a call count. The timestamps peers read for one-way delay also become meaningful, which is what LEDBAT needs to size the congestion window. Built on kotlin.time.TimeSource.Monotonic, which every Kotlin Multiplatform target provides.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open operator override fun invoke(): Long