graphics_GLBench: change cooldown heuristics.

Boards run much cooler these days. It makes no sense to cool them
all the way to room temperature. Instead allow them to run a little
warmer, as long as it is below 45'C. This can half test runtimes.

BUG=None.
TEST=Ran on lars.
Before: Test runs 20+ minutes, temperatures at the end
02/17 20:30:21.132 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 10.0s.
02/17 20:30:21.132 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 3.0s.
02/17 20:30:21.133 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 4.0s.
02/17 20:30:21.134 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 9.0s.
02/17 20:30:21.135 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 19.0s.
02/17 20:30:21.135 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 12.0s.
02/17 20:31:47.575 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 15.0s.
02/17 20:31:47.576 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 21.0s.
02/17 20:31:47.576 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 15.0s.
02/17 20:31:47.576 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 9.0s.
02/17 20:31:47.577 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 36.0'C (initial=32.0'C) after waiting 20.0s.
02/17 20:31:48.718 INFO |  graphics_GLBench:0078| temperature_3_after_test = 41.000000 degree Celsius

After: Test runs 11 minutes, temperatures at the end
02/17 21:25:22.369 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 1.0s.
02/17 21:25:22.369 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 43.0'C (initial=31.0'C) after waiting 1.0s.
02/17 21:25:22.370 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 1.0s.
02/17 21:25:22.370 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 2.0s.
02/17 21:25:22.371 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 2.0s.
02/17 21:25:59.368 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 6.0s.
02/17 21:25:59.369 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 2.0s.
02/17 21:25:59.369 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 4.0s.
02/17 21:25:59.369 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 4.0s.
02/17 21:25:59.370 DEBUG|        base_utils:0268| [stdout] Bench: Cooled down to 44.0'C (initial=31.0'C) after waiting 5.0s.
02/17 21:26:00.573 INFO |  graphics_GLBench:0078| temperature_3_after_test = 47.000000 degree Celsius

Change-Id: Ia16cf80837b04b0ecb99e75b79a7ce40ad9f95cb
Reviewed-on: https://chromium-review.googlesource.com/328073
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
1 file changed