Function wasmer_wasix::syscalls::wasi::clock_res_get::clock_res_get

source ·
pub fn clock_res_get<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    clock_id: Snapshot0Clockid,
    resolution: WasmPtr<Timestamp, M>,
) -> Errno
Expand description

§clock_res_get()

Get the resolution of the specified clock Input:

  • Clockid clock_id The ID of the clock to get the resolution of Output:
  • Timestamp *resolution The resolution of the clock in nanoseconds