Lines Matching refs:time
6 use crate::sys::time::TimeSpec;
8 use crate::sys::time::TimeVal;
568 /// # use nix::sys::time::TimeVal;
676 /// A message of type `SCM_TIMESTAMP`, containing the time the
687 /// # use nix::sys::time::*;
689 /// # use std::time::*;
703 /// // Get initial time
721 /// // Check the final time
1163 /// Configure the transmission time of packets.
1684 mut timeout: Option<crate::sys::time::TimeSpec>,
1876 let t = sys::time::TimeSpec::from_duration(std::time::Duration::from_secs(10));
1889 crate::time::clock_gettime(crate::time::ClockId::CLOCK_REALTIME)?;
1895 assert!(std::time::Duration::from(diff).as_secs() < 60);