Home
last modified time | relevance | path

Searched refs:Clock (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/examples/
Dloopback.rs25 pub struct Clock(Cell<Instant>); struct
27 impl Clock { impl
28 pub fn new() -> Clock { in new()
29 Clock(Cell::new(Instant::from_millis(0))) in new()
51 pub struct Clock(Arc<AtomicUsize>); struct
53 impl Clock { implementation
54 pub fn new() -> Clock { in new()
55 Clock(Arc::new(AtomicUsize::new(0))) in new()
70 let clock = mock::Clock::new(); in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs22 pub struct Clock(Arc<AtomicUsize>); struct
24 impl Clock { impl
25 pub fn new() -> Clock { in new()
26 Clock(Arc::new(AtomicUsize::new(0))) in new()
115 let clock = mock::Clock::new();