1 2 3 4 5 6 7
pub type Instant = std::time::Instant; /// The current time, in milliseconds. #[cfg(feature = "now")] pub fn now() -> f64 { time::precise_time_s() * 1000.0 }
1 2 3 4 5 6 7
pub type Instant = std::time::Instant; /// The current time, in milliseconds. #[cfg(feature = "now")] pub fn now() -> f64 { time::precise_time_s() * 1000.0 }