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

Issue 1365663003: Add UMA histograms for more detailed latency tracking on the CRD host. (Closed)

Created:
5 years, 3 months ago by Sergey Ulanov
Modified:
5 years, 2 months ago
Reviewers:
anandc, Ilya Sherman, Jamie
CC:
chromium-reviews, asvitkine+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

Add UMA histograms for more detailed latency tracking on the CRD host. Previously only two delays in CRD hosts were tracked: capture time and encode time. This CL adds 4 other values that are now measured on the host, sent to the client and logged to UMA: - capture_pending_time: time between input event being received and when the next frame starts capturing. - capture_overhead_time: extra latency for the capturer caused by IPC and threading. - encode_pending_time: delay between capturer and encoder. - send_pending_time: time encoded packets wait in the send queue. VideoFramePump is responsible for measuring all latency values sent to the client except for capture_time_ms which is still measured by the capturer. Committed: https://crrev.com/752c6e600df859a34cedae1b9aa2ce26c198a77b Cr-Commit-Position: refs/heads/master@{#351504}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -123 lines) Patch
M remoting/codec/video_encoder_helper.cc View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/codec/video_encoder_helper_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M remoting/codec/video_encoder_vpx.cc View 3 chunks +1 line, -7 lines 0 comments Download
M remoting/host/client_session.h View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/client_session.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/host/video_frame_pump.h View 1 2 5 chunks +54 lines, -9 lines 0 comments Download
M remoting/host/video_frame_pump.cc View 1 2 5 chunks +108 lines, -37 lines 0 comments Download
M remoting/proto/video.proto View 1 1 chunk +13 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.h View 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/protocol/host_event_dispatcher.h View 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/protocol/host_event_dispatcher.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M remoting/protocol/performance_tracker.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/performance_tracker.cc View 6 chunks +79 lines, -33 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Sergey Ulanov
5 years, 3 months ago (2015-09-25 00:26:09 UTC) #2
chromium-reviews
On Thu, Sep 24, 2015 at 5:26 PM, <sergeyu@chromium.org> wrote: > encode time. This CL ...
5 years, 3 months ago (2015-09-25 00:36:56 UTC) #3
Ilya Sherman
histograms lgtm
5 years, 3 months ago (2015-09-25 00:44:11 UTC) #4
Sergey Ulanov
On Thu, Sep 24, 2015 at 5:36 PM, Jamie Walch <jamiewalch@google.com> wrote: > > > ...
5 years, 2 months ago (2015-09-25 17:41:43 UTC) #5
anandc
LGTM % comment cleanup/nits. https://codereview.chromium.org/1365663003/diff/1/remoting/host/video_frame_pump.h File remoting/host/video_frame_pump.h (right): https://codereview.chromium.org/1365663003/diff/1/remoting/host/video_frame_pump.h#newcode103 remoting/host/video_frame_pump.h:103: // The following two field ...
5 years, 2 months ago (2015-09-25 19:21:45 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/1365663003/diff/1/remoting/host/video_frame_pump.h File remoting/host/video_frame_pump.h (right): https://codereview.chromium.org/1365663003/diff/1/remoting/host/video_frame_pump.h#newcode103 remoting/host/video_frame_pump.h:103: // The following two field are set only for ...
5 years, 2 months ago (2015-09-25 20:35:26 UTC) #7
Jamie
lgtm
5 years, 2 months ago (2015-09-29 00:45:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365663003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365663003/20001
5 years, 2 months ago (2015-09-29 16:09:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/68820) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-09-29 16:38:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365663003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365663003/40001
5 years, 2 months ago (2015-09-30 05:16:02 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-09-30 06:40:36 UTC) #17
commit-bot: I haz the power
5 years, 2 months ago (2015-09-30 06:41:27 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/752c6e600df859a34cedae1b9aa2ce26c198a77b
Cr-Commit-Position: refs/heads/master@{#351504}

Powered by Google App Engine
This is Rietveld 408576698