Re-exports§
pub use crate::timespec::Nsecs;
pub use crate::timespec::Secs;
pub use crate::timespec::Timespec;
pub use crate::clockid::ClockId;
pub use crate::clockid::DynamicClockId;
Functions§
clock_getres(id)
—Returns the resolution of a clock.clock_gettime(id)
—Returns the current value of a clock.- Like
clock_gettime
but with support for dynamic clocks. clock_settime(id, timespec)
—Sets the current value of a settable clock.