Searched refs:to_nanos (Results 1 – 7 of 7) sorted by relevance
37 .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()
530 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() method1329 fn to_nanos(&self) -> u64 { in to_nanos() method1463 let m_ns = target_time.to_nanos(); in iteration_counts()1491 let m_ns = target_time.to_nanos() as f64; in iteration_counts()
110 assert!(dur.to_nanos() > 0); in warm_up_time()128 assert!(dur.to_nanos() > 0); in measurement_time()
207 val.to_nanos() as f64 in to_f64()
134 assert!(dur.to_nanos() > 0);149 assert!(dur.to_nanos() > 0);
251 format::time(crate::DurationExt::to_nanos(elapsed) as f64) in wait()
29 crate::format::time(crate::DurationExt::to_nanos(elapsed) as f64)