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

Issue 1274213006: Add instrumentation to track the IceCandidatePairType and IceConnectionState (Closed)

Created:
5 years, 4 months ago by guoweis_left_chromium
Modified:
5 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add instrumentation to track the IceCandidatePairType and IceConnectionState. Based on onging CL https://codereview.webrtc.org/1277263002 BUG=webrtc:4918 Committed: https://crrev.com/bb99c4d9b16b69f9c504e292105b5cd60e907687 Cr-Commit-Position: refs/heads/master@{#344617}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 16

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -17 lines) Patch
M content/renderer/media/rtc_peer_connection_handler.h View 1 2 3 4 5 6 7 4 chunks +17 lines, -4 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 4 5 6 7 5 chunks +39 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 3 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
guoweis_left_chromium
rkaplow@chromium.org: Please review changes in histograms.xml perkj@chromium.org: Please review changes in rtc_peer_connection_handler.*
5 years, 4 months ago (2015-08-18 23:19:40 UTC) #3
pthatcher2
If rkaplow is OOO until Aug 24 and perkj is OOO until September, who is ...
5 years, 4 months ago (2015-08-19 02:59:06 UTC) #5
guoweis_left_chromium
Peter, PTAL. asvitkine@chromium.org: Please review changes in histograms.xml tommi@chromium.org: Please review changes in rtc_peer_connection_handler.* https://codereview.chromium.org/1274213006/diff/80001/content/renderer/media/rtc_peer_connection_handler.cc ...
5 years, 4 months ago (2015-08-19 18:42:49 UTC) #8
guoweis_left_chromium
isherman@chromium.org: Please review changes in histograms.xml
5 years, 4 months ago (2015-08-19 18:44:00 UTC) #11
Ilya Sherman
histograms lgtm https://codereview.chromium.org/1274213006/diff/120001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/1274213006/diff/120001/content/renderer/media/rtc_peer_connection_handler.cc#newcode524 content/renderer/media/rtc_peer_connection_handler.cc:524: NOTREACHED(); nit: It's best practice to leave ...
5 years, 4 months ago (2015-08-19 18:50:19 UTC) #12
guoweis_left_chromium
Agree. Changed. https://codereview.chromium.org/1274213006/diff/120001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/1274213006/diff/120001/content/renderer/media/rtc_peer_connection_handler.cc#newcode524 content/renderer/media/rtc_peer_connection_handler.cc:524: NOTREACHED(); On 2015/08/19 18:50:18, Ilya Sherman wrote: ...
5 years, 4 months ago (2015-08-19 19:06:54 UTC) #13
pthatcher2
lgtm
5 years, 4 months ago (2015-08-19 19:20:35 UTC) #14
tommi (sloooow) - chröme
https://codereview.chromium.org/1274213006/diff/140001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/1274213006/diff/140001/content/renderer/media/rtc_peer_connection_handler.cc#newcode514 content/renderer/media/rtc_peer_connection_handler.cc:514: counter_max); missing break? https://codereview.chromium.org/1274213006/diff/140001/content/renderer/media/rtc_peer_connection_handler.cc#newcode523 content/renderer/media/rtc_peer_connection_handler.cc:523: case webrtc::kPeerConnectionEnumCounterMax: default: too? ...
5 years, 4 months ago (2015-08-19 19:29:26 UTC) #15
guoweis_left_chromium
PTAL. Thanks for catching the missing of break. https://codereview.chromium.org/1274213006/diff/140001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/1274213006/diff/140001/content/renderer/media/rtc_peer_connection_handler.cc#newcode514 content/renderer/media/rtc_peer_connection_handler.cc:514: counter_max); ...
5 years, 4 months ago (2015-08-19 19:37:29 UTC) #16
tommi (sloooow) - chröme
lgtm. I'll leave it up to you if you want to update the other variables ...
5 years, 4 months ago (2015-08-19 19:46:18 UTC) #17
guoweis_left_chromium
On 2015/08/19 19:46:18, tommi wrote: > lgtm. I'll leave it up to you if you ...
5 years, 4 months ago (2015-08-20 21:00:05 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274213006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274213006/180001
5 years, 4 months ago (2015-08-20 21:00:20 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/96332)
5 years, 4 months ago (2015-08-20 22:53:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1274213006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1274213006/180001
5 years, 4 months ago (2015-08-20 23:00:09 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 4 months ago (2015-08-20 23:59:00 UTC) #26
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/bb99c4d9b16b69f9c504e292105b5cd60e907687 Cr-Commit-Position: refs/heads/master@{#344617}
5 years, 4 months ago (2015-08-20 23:59:39 UTC) #27
rkaplow
5 years, 4 months ago (2015-08-24 20:56:39 UTC) #28
Message was sent while issue was closed.
pthatcher@ I'm around now if you're looking for a reviewer.

On Tue, Aug 18, 2015 at 10:59 PM,  <pthatcher@chromium.org> wrote:
> If rkaplow is OOO until Aug 24 and perkj is OOO until September, who is
> going to
> review these UMA CLs?  I have one too!
>
>
>
https://codereview.chromium.org/1274213006/diff/80001/content/renderer/media/...
> File content/renderer/media/rtc_peer_connection_handler.cc (right):
>
>
https://codereview.chromium.org/1274213006/diff/80001/content/renderer/media/...
> content/renderer/media/rtc_peer_connection_handler.cc:512: case
> webrtc::kEnumCounterAddressFamily:
> Would it have made more sense to pass in a string to
> IncrementEnumCounter than an enum?
>
>
https://codereview.chromium.org/1274213006/diff/80001/content/renderer/media/...
> content/renderer/media/rtc_peer_connection_handler.cc:1386:
> ResetUMAStats();
> This makes it so that we get a UMA for ICE every state for every ICE
> restart.  Is that what we want?
>
>
https://codereview.chromium.org/1274213006/diff/80001/content/renderer/media/...
> content/renderer/media/rtc_peer_connection_handler.cc:1543: if
> (ice_state_tracking_[new_state])
> I'd rename ice_state_tracking_ to ice_state_seen_.
>
>
https://codereview.chromium.org/1274213006/diff/80001/tools/metrics/histogram...
> File tools/metrics/histograms/histograms.xml (right):
>
>
https://codereview.chromium.org/1274213006/diff/80001/tools/metrics/histogram...
> tools/metrics/histograms/histograms.xml:50672: +    first BestConnection
> of a PeerConnection.
> BestConnection => selected candidate pair
>
>
https://codereview.chromium.org/1274213006/diff/80001/tools/metrics/histogram...
> tools/metrics/histograms/histograms.xml:50681: +    PeerConnection gets
> into that state for the first time.
> Or after an ICE restart?  Whichever we decide, we should make the
> comment match the measurement.
>
> https://codereview.chromium.org/1274213006/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698