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/
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/
Dclock.rs54 pub fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function
55 backend::time::syscalls::clock_gettime_dynamic(id) in clock_gettime_dynamic()
Dmod.rs13 pub use clock::{clock_gettime, clock_gettime_dynamic, ClockId, DynamicClockId};
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
Dsyscalls.rs30 pub(crate) use super::super::vdso_wrappers::{clock_gettime, clock_gettime_dynamic};
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso_wrappers.rs46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function
/third_party/rust/crates/rustix/src/backend/libc/time/
Dsyscalls.rs154 pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function