pub fn clock_res_get<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
clock_id: Snapshot0Clockid,
resolution: WasmPtr<Timestamp, M>,
) -> ErrnoExpand description
ยงclock_res_get()
Get the resolution of the specified clock Input:
Clockid clock_idThe ID of the clock to get the resolution of Output:Timestamp *resolutionThe resolution of the clock in nanoseconds