diff options
author | Kevin Lubick <kjlubick@google.com> | 2017-11-30 08:35:29 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-30 14:13:22 +0000 |
commit | 1c8092ac64dc4d9fd140d7fd46fa52163fe26569 (patch) | |
tree | 199b0a34aadd3c993059af7a5726a0bf6d792ed4 /src/image/SkSurface_Gpu.cpp | |
parent | 8816b93134db2fecdfd690fd26967468f6c814b9 (diff) |
Make cpu scaling more robust
Some bots, especially the Nexus 7s, seemed to occasionally
fail when setting the CPU frequency. I was unable to
repro this behavior, so this is a shotgun approach.
We add a 5 second delay between setting and checking,
checking frequency using scaling_cur_freq instead of
scaling_setspeed, set the min_freq as well as max_freq,
and retry up to 3 times if setting cpu frequency fails.
NOTRY=true
Bug: skia:
Change-Id: Id4d85d8d509c9dba8e3a0e06b5992f5adadf36d2
Reviewed-on: https://skia-review.googlesource.com/78140
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'src/image/SkSurface_Gpu.cpp')
0 files changed, 0 insertions, 0 deletions