Lines Matching refs:Instant
10 use crate::time::{Duration, Instant};
15 pub(crate) fn now() -> Instant {
16 Instant::from_std(std::time::Instant::now())
24 pub(crate) fn now(&self) -> Instant {
39 use crate::time::{Duration, Instant};
66 base: std::time::Instant,
69 unfrozen: Option<std::time::Instant>,
110 inner.unfrozen = Some(std::time::Instant::now());
142 pub(crate) fn now() -> Instant {
146 Instant::from_std(std::time::Instant::now())
154 let now = std::time::Instant::now();
200 pub(crate) fn now(&self) -> Instant {
209 Instant::from_std(ret)