Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 6 of 6) sorted by relevance

/smoltcp-0.9.1/examples/
Dloopback.rs36 pub fn elapsed(&self) -> Instant { in elapsed() method
63 pub fn elapsed(&self) -> Instant { in elapsed() method
76 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()
Dbenchmark.rs54 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client() localVariable
56 println!("throughput: {:.3} Gbps", AMOUNT as f64 / elapsed / 0.125e9); in client()
Dsixlowpan_benchmark.rs118 let elapsed = (end - start).total_millis() as f64 / 1000.0; in client() localVariable
120 println!("throughput: {:.3} Gbps", AMOUNT as f64 / elapsed / 0.125e9); in client()
Dutils.rs28 let elapsed = since_startup(); in setup_logging_with_clock() localVariable
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs34 pub fn elapsed(&self) -> Instant { in elapsed() method
169 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()) {
/smoltcp-0.9.1/src/
Dtime.rs109 let elapsed = other.elapsed(); in from() localVariable
110 Instant::from_micros((elapsed.as_secs() * 1_000000) as i64 + elapsed.subsec_micros() as i64) in from()