Package-level declarations
System-related utility functions.
System-related utility functions.
Functions
Terminates the currently running process.
Terminates the currently running process.
Gets current system time in microseconds since certain moment in the past, only delta between two subsequent calls makes sense.
Gets current system time in milliseconds since certain moment in the past, only delta between two subsequent calls makes sense.
Gets current system time in nanoseconds since certain moment in the past, only delta between two subsequent calls makes sense.
Executes the given block and returns elapsed time in nanoseconds. For a more human-readable and typed output, measureTime can be used instead.
Executes the given block and returns elapsed time in nanoseconds.
Executes the given block and returns elapsed time in microseconds (Kotlin/Native only).