Home
last modified time | relevance | path

Searched refs:clock_gettime_dynamic (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/tests/time/
H A Ddynamic_clocks.rs4 use rustix::time::{clock_gettime_dynamic, ClockId, DynamicClockId};
8 clock_gettime_dynamic(DynamicClockId::Known(ClockId::Realtime)).unwrap(); in test_known_clocks()
9 clock_gettime_dynamic(DynamicClockId::Known(ClockId::Monotonic)).unwrap(); in test_known_clocks()
15 clock_gettime_dynamic(DynamicClockId::Dynamic(file.as_fd())).unwrap_err(); in test_dynamic_clocks()
21 let _ = clock_gettime_dynamic(DynamicClockId::Tai); in test_conditional_clocks()
/third_party/rust/crates/rustix/src/time/
H A Dclock.rs29 /// [`clock_gettime_dynamic`].
54 pub fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { functions
55 backend::time::syscalls::clock_gettime_dynamic(id)
H A Dmod.rs13 pub use clock::{clock_gettime, clock_gettime_dynamic, ClockId, DynamicClockId};
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
H A Dsyscalls.rs30 pub(crate) use super::super::vdso_wrappers::{clock_gettime, clock_gettime_dynamic};
/third_party/rust/crates/rustix/src/backend/libc/time/
H A Dsyscalls.rs154 pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> {
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dvdso_wrappers.rs46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> {

Completed in 3 milliseconds