Home
last modified time | relevance | path

Searched refs:clock_time_get (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp1_clock_time_get.rs7 wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 1).expect("precision 1 should work"); in test_clock_time_get()
10 wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).expect("precision 0 should work"); in test_clock_time_get()
13 wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).expect("re-fetch time should work"); in test_clock_time_get()
H A Dp1_poll_oneoff_files.rs74 let before = wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).unwrap(); in test_timeout()
76 let after = wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).unwrap(); in test_timeout()
112 let before = wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).unwrap(); in test_sleep()
114 let after = wasip1::clock_time_get(wasip1::CLOCKID_MONOTONIC, 0).unwrap(); in test_sleep()
/wasmtime-44.0.1/benches/wasi/
H A Dget-current-time.wat2 (import "wasi_snapshot_preview1" "clock_time_get"
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dwasi.rs75 fn clock_time_get( in clock_time_get() method
H A Dwasi.witx55 (@interface func (export "clock_time_get")
/wasmtime-44.0.1/crates/wasi/src/
H A Dp0.rs121 fn clock_time_get( in clock_time_get() method
127 let t = Snapshot1::clock_time_get(self, memory, id.into(), precision)?; in clock_time_get()
H A Dp1.rs1304 fn clock_time_get( in clock_time_get() method
/wasmtime-44.0.1/crates/wasi-common/src/snapshots/
H A Dpreview_0.rs432 async fn clock_time_get( in clock_time_get() method
438 let t = Snapshot1::clock_time_get(self, memory, id.into(), precision).await?; in clock_time_get()
H A Dpreview_1.rs92 async fn clock_time_get( in clock_time_get() method
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dwasi_snapshot_preview1.witx57 (@interface func (export "clock_time_get")
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dwasi_unstable.witx60 (@interface func (export "clock_time_get")
/wasmtime-44.0.1/crates/wasi-common/witx/preview1/
H A Dwasi_snapshot_preview1.witx57 (@interface func (export "clock_time_get")
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dwasi_unstable.witx60 (@interface func (export "clock_time_get")
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs681 pub unsafe extern "C" fn clock_time_get( in clock_time_get() function