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

Issue 6792038: Chromoting to report roundtrip latency (Closed)

Created:
9 years, 8 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
Reviewers:
Jamie, Wez, simonmorris
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Chromoting to report roundtrip latency Doing so by sending a sequence number, essentially the timestamp in every envet message. Capturer at the host will pick up the latest sequence number and pass it through the pipeline. Client will then receive it and determine the latency. This roundtrip latency number however doesn't include time in decoding and rendering. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84504

Patch Set 1 #

Patch Set 2 : remove some changes #

Patch Set 3 : remove log #

Patch Set 4 : add scriptable interface #

Total comments: 20

Patch Set 5 : done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -19 lines) Patch
M remoting/base/capture_data.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M remoting/base/encoder_row_based.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/base/encoder_vp8.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/chromoting_client.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M remoting/client/chromoting_stats.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/client/chromoting_stats.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/plugin/chromoting_scriptable_object.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_scriptable_object.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M remoting/host/screen_recorder.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M remoting/host/screen_recorder.cc View 1 2 3 4 3 chunks +23 lines, -1 line 0 comments Download
M remoting/proto/internal.proto View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/proto/video.proto View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_client.h View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_client.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M remoting/protocol/host_message_dispatcher.h View 3 chunks +5 lines, -1 line 0 comments Download
M remoting/protocol/host_message_dispatcher.cc View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M remoting/protocol/input_sender.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/protocol/message_decoder_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Alpha Left Google
9 years, 8 months ago (2011-04-05 01:25:36 UTC) #1
Jamie
There seems to be some inconsistency in naming here. In some places, the new field ...
9 years, 8 months ago (2011-04-05 09:37:30 UTC) #2
simonmorris
I agree with Jamie that "sequence number" should be "timestamp" throughout. http://codereview.chromium.org/6792038/diff/4022/remoting/host/screen_recorder.cc File remoting/host/screen_recorder.cc (right): ...
9 years, 8 months ago (2011-04-05 10:47:06 UTC) #3
Wez
Looks good, subject to a couple of tweaks. :) http://codereview.chromium.org/6792038/diff/4022/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/6792038/diff/4022/remoting/client/chromoting_client.cc#newcode141 remoting/client/chromoting_client.cc:141: ...
9 years, 8 months ago (2011-04-05 13:46:20 UTC) #4
Wez
On 2011/04/05 09:37:30, Jamie wrote: > There seems to be some inconsistency in naming here. ...
9 years, 8 months ago (2011-04-05 13:48:15 UTC) #5
Alpha Left Google
http://codereview.chromium.org/6792038/diff/4022/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): http://codereview.chromium.org/6792038/diff/4022/remoting/client/chromoting_client.cc#newcode141 remoting/client/chromoting_client.cc:141: packet->client_sequence_number()) { On 2011/04/05 13:46:20, Wez wrote: > Checking ...
9 years, 8 months ago (2011-04-08 00:07:20 UTC) #6
simonmorris
http://codereview.chromium.org/6792038/diff/4022/remoting/host/screen_recorder.cc File remoting/host/screen_recorder.cc (right): http://codereview.chromium.org/6792038/diff/4022/remoting/host/screen_recorder.cc#newcode248 remoting/host/screen_recorder.cc:248: // accurate as long as capture is synchronous as ...
9 years, 8 months ago (2011-04-08 08:18:25 UTC) #7
Wez
This seems to have stalled - does it still make sense to go in, Alpha?
9 years, 7 months ago (2011-05-06 18:23:21 UTC) #8
Alpha Left Google
This should be still good to help measurement. I would like to check this in ...
9 years, 7 months ago (2011-05-06 18:42:25 UTC) #9
simonmorris
9 years, 7 months ago (2011-05-06 18:45:14 UTC) #10
On 2011/05/06 18:42:25, Alpha wrote:
> This should be still good to help measurement. I would like to check this in
if
> anyone can give it a LGTM. I guess simon's concern is the coding structure
which
> I don't think it's very critical.

I agree. LGTM.

Powered by Google App Engine
This is Rietveld 408576698