Searched refs:clock_gettime_dynamic (Results 1 – 6 of 6) sorted by relevance
4 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()
54 pub fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function55 backend::time::syscalls::clock_gettime_dynamic(id) in clock_gettime_dynamic()
13 pub use clock::{clock_gettime, clock_gettime_dynamic, ClockId, DynamicClockId};
30 pub(crate) use super::super::vdso_wrappers::{clock_gettime, clock_gettime_dynamic};
46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function
154 pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic() function