//! Timing is important for compositors and clients to know when to render frames.
//! Most of these functions will be used for that purpose.
use Duration;
use ;
/// Trait to convert something to milliseconds.
///
/// Used primarily to convert a `std::time::Duration` into
/// something usable by wlroots
/// Get the current time as a duration suitable for functions such as
/// `surface.send_frame_done()`.