Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Issue 2096643003: Rework PerformanceTracker to make it usable with WebRTC (Closed)

Created:
4 years, 6 months ago by Sergey Ulanov
Modified:
4 years, 6 months ago
Reviewers:
Jamie
CC:
chromium-reviews, posciak+watch_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rework PerformanceTracker to make it usable with WebRTC Previously PerformanceTracker was expected to be notified at the moment when each frame is decoded and rendered. It also had assumption that latest_event_timestamp is known for each frame before that frame is rendered. That doesn't work with WebRTC where frame stats will have to be sent separately from each frame. With this change PerformanceTracker gets FrameStats struct for each frame. That struct contains all timestamps for the frame, which allows to log all relevant stats. BUG=621691 Committed: https://crrev.com/2ec2751edb7e5cec1d5c3ffa8899b3a281aa486a Cr-Commit-Position: refs/heads/master@{#402054}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -217 lines) Patch
M remoting/client/plugin/pepper_video_renderer_3d.h View 1 2 3 chunks +21 lines, -9 lines 0 comments Download
M remoting/client/plugin/pepper_video_renderer_3d.cc View 1 2 12 chunks +59 lines, -37 lines 0 comments Download
M remoting/client/software_video_renderer.h View 3 chunks +4 lines, -3 lines 0 comments Download
M remoting/client/software_video_renderer.cc View 1 2 4 chunks +22 lines, -15 lines 0 comments Download
A remoting/protocol/frame_stats.h View 1 chunk +47 lines, -0 lines 0 comments Download
A remoting/protocol/frame_stats.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M remoting/protocol/performance_tracker.h View 1 5 chunks +3 lines, -37 lines 0 comments Download
M remoting/protocol/performance_tracker.cc View 1 6 chunks +66 lines, -109 lines 0 comments Download
M remoting/protocol/webrtc_video_renderer_adapter.h View 2 chunks +6 lines, -2 lines 0 comments Download
M remoting/protocol/webrtc_video_renderer_adapter.cc View 3 chunks +20 lines, -3 lines 0 comments Download
M remoting/remoting_srcs.gypi View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Sergey Ulanov
4 years, 6 months ago (2016-06-24 19:04:49 UTC) #5
Jamie
lgtm https://codereview.chromium.org/2096643003/diff/60001/remoting/client/plugin/pepper_video_renderer_3d.cc File remoting/client/plugin/pepper_video_renderer_3d.cc (right): https://codereview.chromium.org/2096643003/diff/60001/remoting/client/plugin/pepper_video_renderer_3d.cc#newcode43 remoting/client/plugin/pepper_video_renderer_3d.cc:43: stats_.time_rendered = base::TimeTicks::Now(); Unless you feel strongly otherwise, ...
4 years, 6 months ago (2016-06-24 23:53:22 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/2096643003/diff/60001/remoting/client/plugin/pepper_video_renderer_3d.cc File remoting/client/plugin/pepper_video_renderer_3d.cc (right): https://codereview.chromium.org/2096643003/diff/60001/remoting/client/plugin/pepper_video_renderer_3d.cc#newcode43 remoting/client/plugin/pepper_video_renderer_3d.cc:43: stats_.time_rendered = base::TimeTicks::Now(); On 2016/06/24 23:53:21, Jamie wrote: > ...
4 years, 6 months ago (2016-06-25 05:34:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096643003/100001
4 years, 6 months ago (2016-06-25 05:34:18 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 6 months ago (2016-06-25 06:11:00 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-25 06:12:31 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2ec2751edb7e5cec1d5c3ffa8899b3a281aa486a
Cr-Commit-Position: refs/heads/master@{#402054}

Powered by Google App Engine
This is Rietveld 408576698