@@ -112,19 +112,19 @@ use crate::sys_common::{FromInner, IntoInner};
112
112
/// | Platform | System call |
113
113
/// |-----------|----------------------------------------------------------------------|
114
114
/// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
115
- /// | UNIX | [clock_gettime (Monotonic Clock)] |
116
- /// | Darwin | [clock_gettime (Monotonic Clock)] |
117
- /// | VXWorks | [clock_gettime (Monotonic Clock)] |
115
+ /// | UNIX | [clock_gettime] with `CLOCK_MONOTONIC` |
116
+ /// | Darwin | [clock_gettime] with `CLOCK_UPTIME_RAW` |
117
+ /// | VXWorks | [clock_gettime] with `CLOCK_MONOTONIC` |
118
118
/// | SOLID | `get_tim` |
119
- /// | WASI | [__wasi_clock_time_get (Monotonic Clock)] |
119
+ /// | WASI | [__wasi_clock_time_get] with `monotonic` |
120
120
/// | Windows | [QueryPerformanceCounter] |
121
121
///
122
122
/// [currently]: crate::io#platform-specific-behavior
123
123
/// [QueryPerformanceCounter]: https://docs.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter
124
124
/// [`insecure_time` usercall]: https://edp.fortanix.com/docs/api/fortanix_sgx_abi/struct.Usercalls.html#method.insecure_time
125
125
/// [timekeeping in SGX]: https://edp.fortanix.com/docs/concepts/rust-std/#codestdtimecode
126
- /// [__wasi_clock_time_get (Monotonic Clock) ]: https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#clock_time_get
127
- /// [clock_gettime (Monotonic Clock) ]: https://linux.die.net/man/3/clock_gettime
126
+ /// [__wasi_clock_time_get]: https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#clock_time_get
127
+ /// [clock_gettime]: https://linux.die.net/man/3/clock_gettime
128
128
///
129
129
/// **Disclaimer:** These system calls might change over time.
130
130
///
0 commit comments