ClockId

Identifiers for clocks.

Entries

Link copied to clipboard

The clock measuring real time. Time value zero corresponds with 1970-01-01T00:00:00Z.

Link copied to clipboard

The store-wide monotonic clock, which is defined as a clock measuring real time, whose value cannot be adjusted and which cannot have negative clock jumps. The epoch of this clock is undefined. The absolute time value of this clock therefore has no meaning.

Link copied to clipboard

The CPU-time clock associated with the current process.

Link copied to clipboard

The CPU-time clock associated with the current thread.

Types

Link copied to clipboard

Properties

Link copied to clipboard
val id: Int

Functions

Link copied to clipboard
fun valueOf(value: String): ClockId

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.