• Sadrul Habib Chowdhury's avatar
    [cc/metrics] More trace fixes. · bcf241dc
    Sadrul Habib Chowdhury authored
    It is possible to start new stages after a frame has been marked
    as 'did not produce frame'. Sometimes these reports can go on and
    produce frames (e.g. if the main-thread comes back late after the
    deadline). However, in other times, the reporters can terminate as
    'did not produce frame'. For such frames, do not report the stages
    that started after the initial 'did not produce' notification.
    
    BUG=1074567
    TBR=behdadb@chromium.org
    
    Change-Id: I4d45372d8a973247fb129c0964776179d9f009e9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167174Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
    Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
    Auto-Submit: Sadrul Chowdhury <sadrul@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#762699}
    bcf241dc
compositor_frame_reporter.cc 30.9 KB