Function wasi::clock_time_get
source · [−]Expand description
Return the time value of a clock.
Note: This is similar to clock_gettime
in POSIX.
Parameters
id
- The clock for which to return the time.precision
- The maximum lag (exclusive) that the returned time value may have, compared to its actual value.
Return
The time value of the clock.