[go: up one dir, main page]

Function clock_time_get

Source
pub unsafe fn clock_time_get(
    clock_id_: clockid,
    precision_: timestamp,
    time_: *mut timestamp,
) -> errno
Expand description

Obtains the time value of a clock.

ยงParameters

clock_id: The clock for which the time needs to be returned.

precision: The maximum lag (exclusive) that the returned time value may have, compared to its actual value.

time: The time value of the clock.