[cc/metrics] Fix trace-event for aborted frames.
If a 'begin main frame' is aborted (e.g. because of no visual damage), then use the time of the abort as the termination time for the trace-event, rather than when the reporter gets replaced by a new reporter for the next frame, or when the scheduler drops the reporter after the frame's deadline. BUG=none Change-Id: I4fdb32f8793eb7228439937759bdf12f0f3c0798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138963 Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:Behdad Bakhshinategh <behdadb@chromium.org> Cr-Commit-Position: refs/heads/master@{#757979}
Showing
Please register or sign in to comment