Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py46 avg = sum(deltas_ms) / len(deltas_ms)
47 var = sum([d*d for d in deltas_ms]) / len(deltas_ms) - avg * avg
48 range0 = min(deltas_ms) - avg
49 range1 = max(deltas_ms) - avg
50 print "Average:", avg
59 assert(avg > MIN_AVG_FRAME_DELTA)
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rs55 yuvx_444 avg = convert_yuvx_444(sum);
57 return avg;
82 yuvx_444 avg = convert_yuvx_444(sum);
84 return avg;
Dmeans_yuvx_444_1d_to_single.rs50 yuvx_444 avg = convert_yuvx_444(sum);
52 return avg;
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py668 avg = sum(measurements) / len(measurements)
669 squared = [(m - avg) * (m - avg) for m in measurements]
672 current_diff = avg - baseline_amps
674 max_power = max(measurements) - avg
680 current_diff * 1000.0, baseline_amps * 1000.0, avg * 1000.0,
686 current_diff * 1000.0, baseline_amps * 1000.0, avg * 1000.0,
794 if FLAGS.avg and FLAGS.avg < 0:
884 if FLAGS.avg:
886 if len(history_deque) > FLAGS.avg: history_deque.pop()
/cts/libs/deviceutil/src/android/cts/util/
DMediaPerfUtils.java116 long avg = Math.round(statsUs.getAverage()); in logPerformanceStats() local
119 log.addValue(prefix + "_avg", avg / 1000., ResultType.LOWER_BETTER, ResultUnit.MS); in logPerformanceStats()
121 message += " num=" + num + " avg=" + avg + " stdev=" + stdev; in logPerformanceStats()
/cts/tools/utils/
Dmonsoon.py320 if FLAGS.avg and FLAGS.avg < 0:
383 if FLAGS.avg:
385 if len(history_deque) > FLAGS.avg: history_deque.pop()