Searched refs:clock_time_get (Results 1 – 14 of 14) sorted by relevance
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | p1_clock_time_get.rs | 7 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 D | p1_poll_oneoff_files.rs | 74 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 D | get-current-time.wat | 2 (import "wasi_snapshot_preview1" "clock_time_get"
|
| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | wasi.rs | 75 fn clock_time_get( in clock_time_get() method
|
| H A D | wasi.witx | 55 (@interface func (export "clock_time_get")
|
| /wasmtime-44.0.1/crates/wasi/src/ |
| H A D | p0.rs | 121 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 D | p1.rs | 1304 fn clock_time_get( in clock_time_get() method
|
| /wasmtime-44.0.1/crates/wasi-common/src/snapshots/ |
| H A D | preview_0.rs | 432 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 D | preview_1.rs | 92 async fn clock_time_get( in clock_time_get() method
|
| /wasmtime-44.0.1/crates/wasi/witx/p1/ |
| H A D | wasi_snapshot_preview1.witx | 57 (@interface func (export "clock_time_get")
|
| /wasmtime-44.0.1/crates/wasi/witx/p0/ |
| H A D | wasi_unstable.witx | 60 (@interface func (export "clock_time_get")
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview1/ |
| H A D | wasi_snapshot_preview1.witx | 57 (@interface func (export "clock_time_get")
|
| /wasmtime-44.0.1/crates/wasi-common/witx/preview0/ |
| H A D | wasi_unstable.witx | 60 (@interface func (export "clock_time_get")
|
| /wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/ |
| H A D | lib.rs | 681 pub unsafe extern "C" fn clock_time_get( in clock_time_get() function
|