Home
last modified time | relevance | path

Searched refs:to_nanos (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/criterion/src/
Droutine.rs37 .profile(id, report_context, time.to_nanos() as f64); in profile()
54 let time = time.to_nanos(); in profile()
92 let m_ns = config.measurement_time.to_nanos(); in sample()
96 .warmup(id, report_context, wu.to_nanos() as f64); in sample()
101 nanos: wu.to_nanos() as f64, in sample()
236 return (elapsed_time.to_nanos(), total_iters); in warm_up()
Dlib.rs530 assert!(dur.to_nanos() > 0); in warm_up_time()
547 assert!(dur.to_nanos() > 0); in measurement_time()
1003 assert!(dur.to_nanos() > 0); in configure_from_args()
1015 assert!(dur.to_nanos() > 0); in configure_from_args()
1323 fn to_nanos(&self) -> u64; in to_nanos() method
1329 fn to_nanos(&self) -> u64 { in to_nanos() method
1463 let m_ns = target_time.to_nanos(); in iteration_counts()
1491 let m_ns = target_time.to_nanos() as f64; in iteration_counts()
Dbenchmark_group.rs110 assert!(dur.to_nanos() > 0); in warm_up_time()
128 assert!(dur.to_nanos() > 0); in measurement_time()
Dmeasurement.rs207 val.to_nanos() as f64 in to_f64()
Dbenchmark.rs134 assert!(dur.to_nanos() > 0);
149 assert!(dur.to_nanos() > 0);
/external/rust/crates/criterion/src/plot/gnuplot_backend/
Dmod.rs251 format::time(crate::DurationExt::to_nanos(elapsed) as f64) in wait()
/external/rust/crates/criterion/src/analysis/
Dmod.rs29 crate::format::time(crate::DurationExt::to_nanos(elapsed) as f64)