Lines Matching refs:clock
3 /// WASI Monotonic Clock is a clock API intended to let users measure elapsed
9 /// A monotonic clock is a clock which has an unspecified initial value, and
10 /// successive reads of the clock will produce non-decreasing values.
12 interface monotonic-clock {
18 /// the same monotonic-clock.
26 /// Read the current value of the clock.
28 /// The clock is monotonic, therefore calling this function repeatedly will
33 /// Query the resolution of the clock. Returns the duration of time
34 /// corresponding to a clock tick.
49 /// WASI Wall Clock is a clock API intended to let users query the current
50 /// time. The name "wall" makes an analogy to a "clock on the wall", which
56 /// A wall clock is a clock which measures the date and time according to
59 /// External references may be reset, so this clock is not necessarily
64 interface wall-clock {
72 /// Read the current value of the clock.
74 /// This clock is not monotonic, therefore calling this function repeatedly
88 /// Query the resolution of the clock.
98 use wall-clock.{datetime};
152 import monotonic-clock;
154 import wall-clock;