Home
last modified time | relevance | path

Searched refs:total_ns (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/plotters/src/coord/ranged1d/types/
Ddatetime.rs34 if let Some(total_ns) = total_span.num_nanoseconds() { in map_coord()
36 return (f64::from(limit.1 - limit.0) * value_ns as f64 / total_ns as f64) as i32 in map_coord()
622 if let Some(total_ns) = total_span.num_nanoseconds() { in key_points()
624 compute_period_per_point(total_ns as u64, max_points, true) in key_points()
685 if let Some(total_ns) = total_span.num_nanoseconds() { in map()
688 + (f64::from(limit.1 - limit.0) * value_ns as f64 / total_ns as f64 + 1e-10) in map()
705 if let Some(total_ns) = total_span.num_nanoseconds() { in key_points()
706 if let Some(period) = compute_period_per_point(total_ns as u64, max_points, false) { in key_points()
769 fn compute_period_per_point(total_ns: u64, max_points: usize, sub_daily: bool) -> Option<u64> { in compute_period_per_point()
770 let min_ns_per_point = total_ns as f64 / max_points as f64; in compute_period_per_point()
[all …]
/external/bcc/tools/
Dsyscount.py200 key=lambda kv: -kv[1].total_ns)[:args.top]:
205 v.total_ns / (1e6 if args.milliseconds else 1e3)))
/external/bcc/tools/lib/
Ducalls.py268 (kv[1].num_calls, kv[1].total_ns)),
280 (kv[1].num_calls, kv[1].total_ns)),
/external/igt-gpu-tools/tests/
Dperf_pmu.c1572 uint64_t total_busy_ns = 0, total_ns = 0; in accuracy() local
1619 total_ns += loop_ns; in accuracy()
1622 err = (double)total_busy_ns / total_ns - in accuracy()
1628 err = 100.0 * total_busy_ns / total_ns; in accuracy()