Improve calibration and accouting in flush-finish tests
authorPyry Haulos <phaulos@google.com>
Wed, 15 Jul 2015 22:42:26 +0000 (15:42 -0700)
committerPyry Haulos <phaulos@google.com>
Wed, 15 Jul 2015 22:42:26 +0000 (15:42 -0700)
commit09e39a250d7deb3161f4c7c5f9b91704b5632abc
treea8547313b1cf9561b8105abcae2cbc7fb1ee5457
parent1deb3e82ce2e1857f6dd5fb584f292705d35941e
Improve calibration and accouting in flush-finish tests

 * Verify stability of calibration by running 3 samples with maximum
load and verifying that they are within 10% of projected time.

 * Retry calibration up to 5 times if calibration or verification fails.

 * Do not count submit time into wait time as submit cost can be
relatively high on low-end devices.

Bug: 22301848
Change-Id: Iff4523f601edcdec1375662a065bf50b8970ef02
modules/gles3/functional/es3fFlushFinishTests.cpp