commit | 70d697da337e07465bcc345c177692227ebb40a8 | [log] [tgz] |
---|---|---|
author | Maggie Chen <magchen@chromium.org> | Wed Jul 10 02:32:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 10 02:32:26 2019 |
tree | 6f329af7837c3e7e557a91a66d557ca4362f9a32 | |
parent | b01f886fa1c0c1f29ede0c48e7e7e5ecb2569d46 [diff] |
Create GPU watchdog V2 unit tests A new file gpu_watchdog_thread_unittest.cc is added. The test first creates a new watchdog thread and then uses MessageLoop and RunLoop to run the gpu tasks. The watchdog thread will be notified at the beginning and end of every task. The SimpleTask used for the test only does one thing - Sleep(). The current watchdog timeout for testing is set to 1 second. If it causes flakiness. The timeout for the test should increase to avoid flakiness Bug: 949838 Change-Id: Iaf9047cb790ad8039903702637082ce6bebc5e89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690414 Reviewed-by: Antoine Labour <piman@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#675935}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .