KT-58046 Promote time sources, time marks, measureTime to stable
This commit is contained in:
committed by
Space Team
parent
fd54706e1a
commit
bbb36ce501
@@ -8,7 +8,6 @@ package kotlin.time
|
||||
import kotlin.time.TimeSource.Monotonic.ValueTimeMark
|
||||
|
||||
@SinceKotlin("1.3")
|
||||
@ExperimentalTime
|
||||
internal actual object MonotonicTimeSource : TimeSource.WithComparableMarks {
|
||||
private val zero: Long = System.nanoTime()
|
||||
private fun read(): Long = System.nanoTime() - zero
|
||||
|
||||
Reference in New Issue
Block a user