clockResGet

fnErrno clockResGet(ClockId clockId, TimeStamp * time) @importName("clock_res_get")

Return the resolution of a clock. Implementations are required to provide a non-zero value for supported clocks. For unsupported clocks, return errno::inval.

Note

This is similar to clock_getres in POSIX.