TestCputimeClock

class TestCputimeClock(val isSupported: Boolean = true, resolution: Long = 1.milliseconds.inWholeNanoseconds, valueProvider: () -> Long) : CputimeSource.CputimeClock(source)

Constructors

Link copied to clipboard
constructor(isSupported: Boolean = true, resolution: Long = 1.milliseconds.inWholeNanoseconds, valueProvider: () -> Long)

Properties

Link copied to clipboard
open override val isSupported: Boolean = true

Functions

Link copied to clipboard
open override fun getResolutionNanoseconds(): Long
Link copied to clipboard
open override fun getTimeMarkNanoseconds(): Long