Skip to content
  • stanisc's avatar
    More accurate implementation of watched thread time for Gpu Watchdog. · f5173e22
    stanisc authored
    This change leverages an accurate implementation of ThreadTicks to
    allow GPU Watchdog thread report watched thread specific CPU time
    deltas to help with GPU hang crash dump analysis.
    
    This includes a small refactoring of ThreadTicks class that adds an
    overload of ThreadTicks::Now that accepts an arbitrary thread handle
    as an argument. That is limited to Windows OS only but if necessary we
    could extend it to other platforms.
    
    BUG=596190
    
    Review URL: https://codereview.chromium.org/1910063003
    
    Cr-Commit-Position: refs/heads/master@{#389210}
    f5173e22