• andresantoso's avatar
    Reduce GPU watchdog polling frequency · 5be9f726
    andresantoso authored
    Reduce GPU watchdog's polling interval from 2 seconds to 5 seconds.
    Also remove unnecessary CheckArmed() call from DidProcessTask(). Although
    CheckArmed() checks first whether it needs to post the task, WillProcessTask
    and DidProcessTask is called so quickly that armed() still returns true, so we
    ended up posting the task twice most of the time.
    
    BUG=483622
    
    Review URL: https://codereview.chromium.org/1133703002
    
    Cr-Commit-Position: refs/heads/master@{#329709}
    5be9f726
gpu_watchdog_thread.cc 12.2 KB