Searched refs:elapsed (Results 1 – 6 of 6) sorted by relevance
36 pub fn elapsed(&self) -> Instant { in elapsed() method63 pub fn elapsed(&self) -> Instant { in elapsed() method76 utils::setup_logging_with_clock("", move || clock.elapsed()); in main()125 while !done && clock.elapsed() < Instant::from_millis(10_000) { in main()126 iface.poll(clock.elapsed(), &mut device, &mut sockets); in main()164 match iface.poll_delay(clock.elapsed(), &sockets) { in main()
54 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client() localVariable56 println!("throughput: {:.3} Gbps", AMOUNT as f64 / elapsed / 0.125e9); in client()
118 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client() localVariable120 println!("throughput: {:.3} Gbps", AMOUNT as f64 / elapsed / 0.125e9); in client()
28 let elapsed = since_startup(); in setup_logging_with_clock() localVariable
34 pub fn elapsed(&self) -> Instant { in elapsed() method169 while !done && clock.elapsed() < Instant::from_millis(4_000) {170 let _ = iface.poll(&mut socket_set, clock.elapsed());209 match iface.poll_delay(&socket_set, clock.elapsed()) {
109 let elapsed = other.elapsed(); in from() localVariable110 Instant::from_micros((elapsed.as_secs() * 1_000000) as i64 + elapsed.subsec_micros() as i64) in from()