/third_party/rust/crates/aho-corasick/aho-corasick-debug/ |
D | main.rs | 6 use std::time::Instant; 33 let start = Instant::now(); in try_main() 37 let count_time = Instant::now().duration_since(start); in try_main() 119 let start = Instant::now(); in automaton() 121 let read_time = Instant::now().duration_since(start); in automaton() 124 let start = Instant::now(); in automaton() 136 let build_time = Instant::now().duration_since(start); in automaton()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/time/ |
D | mod.rs | 4 use std::time::Instant; 106 epoch: Instant, 112 epoch: Instant::now(), in default() 117 impl From<Instant> for Uptime { 118 fn from(epoch: Instant) -> Self { in from()
|
/third_party/rust/crates/bindgen/bindgen/ |
D | time.rs | 2 use std::time::{Duration, Instant}; 9 start: Instant, 19 start: Instant::now(), in new() 32 Instant::now() - self.start in elapsed()
|
/third_party/rust/crates/syn/tests/repo/ |
D | progress.rs | 2 use std::time::{Duration, Instant}; 6 tick: Instant, 14 tick: Instant::now() + Duration::from_millis(2000), in new() 24 let now = Instant::now(); in read()
|
/third_party/rust/crates/once_cell/examples/ |
D | regex.rs | 1 use std::{str::FromStr, time::Instant}; 42 let t = Instant::now(); in main() 46 let t = Instant::now(); in main()
|
D | bench_vs_lazy_static.rs | 15 let start = std::time::Instant::now(); in main() 25 let start = std::time::Instant::now(); in main()
|
D | bench.rs | 11 let start = std::time::Instant::now(); in main()
|
D | test_synchronization.rs | 19 let start = std::time::Instant::now(); in main()
|
D | bench_acquire.rs | 15 let start = std::time::Instant::now(); in main()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_timerfd.rs | 5 use std::time::Instant; 12 let before = Instant::now(); in test_timerfd_oneshot() 32 let before = Instant::now(); in test_timerfd_interval()
|
/third_party/rust/crates/proc-macro2/benches/bench-libproc-macro/ |
D | lib.rs | 5 use std::time::Instant; 11 let start = Instant::now(); in bench() 29 let start = Instant::now(); in bench()
|
/third_party/rust/crates/tracing/tracing-flame/src/ |
D | lib.rs | 151 use std::time::{Duration, Instant}; 161 static START: Lazy<Instant> = Lazy::new(Instant::now); 164 static LAST_EVENT: Cell<Instant> = Cell::new(*START); 473 let now = Instant::now(); in time_since_last_event()
|
/third_party/rust/crates/signal-hook/src/ |
D | flag.rs | 234 use std::time::{Duration, Instant}; 248 let start = Instant::now(); in wait_flag() 253 if Instant::now() - start > Duration::from_secs(1) { in wait_flag()
|
/third_party/rust/crates/tracing/tracing-appender/benches/ |
D | bench.rs | 4 time::Instant, 52 let start = Instant::now(); in synchronous_benchmark() 102 let start = Instant::now(); in non_blocking_benchmark()
|
/third_party/rust/crates/quote/benches/ |
D | timer.rs | 2 use std::time::Instant; 8 let begin = Instant::now(); in time()
|
/third_party/rust/crates/tracing/tracing-subscriber/benches/support/ |
D | mod.rs | 4 time::{Duration, Instant}, 45 let t0 = Instant::now(); in run()
|
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif/src/ |
D | main.rs | 43 use std::time::Instant; 57 let start = Instant::now(); in main()
|
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif-dot-rs/src/ |
D | main.rs | 49 use std::time::Instant; 69 let start = Instant::now(); in main()
|
/third_party/rust/crates/nix/test/ |
D | test_timer.rs | 10 use std::time::{Duration, Instant}; 78 let starttime = Instant::now(); in alarm_fires()
|
/third_party/rust/crates/tracing/tracing-log/benches/ |
D | logging.rs | 5 use std::time::{Duration, Instant}; 77 let start = Instant::now(); in bench_logger()
|
/third_party/rust/crates/once_cell/xtask/src/ |
D | main.rs | 4 use std::time::Instant; 102 let start = Instant::now(); in section()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo_sanity.rs | 23 use std::time::Instant; in sanity_check_can_generate_stylo_bindings() 25 let then = Instant::now(); in sanity_check_can_generate_stylo_bindings() 544 let now = Instant::now(); in sanity_check_can_generate_stylo_bindings()
|
/third_party/rust/crates/syn/benches/ |
D | rust.rs | 20 use std::time::{Duration, Instant}; 100 let begin = Instant::now(); in exec()
|
/third_party/rust/crates/syn/tests/ |
D | test_round_trip.rs | 34 use std::time::Instant; 79 let start = Instant::now(); in test()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/ |
D | fmt_layer.rs | 8 use std::{any::TypeId, cell::RefCell, fmt, io, marker::PhantomData, ops::Deref, time::Instant}; 832 let now = Instant::now(); in on_enter() 852 let now = Instant::now(); in on_exit() 877 idle += (Instant::now() - last).as_nanos() as u64; in on_close() 1165 last: Instant, 1173 last: Instant::now(), in new()
|