|
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}
Total comments: 12
|
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
|
Total messages: 18 (6 generated)
|