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

Issue 1940493002: Add Stats to Stun ping. (Closed)

Created:
4 years, 7 months ago by Zhi Huang
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add Stats to Stun ping. Add sent_ping_requests, recv_ping_responses to ConnectionInfo. recv_ping_responses_ will be incremented when OnConnectionRequestResponse() is called. ent_ping_requests_ will be incremented when OnConnectionRequestSent() is called. BUG=webrtc:5695 Committed: https://crrev.com/5ecf16c072cef53ecb270794577c39a66dcbac63 Cr-Commit-Position: refs/heads/master@{#13001}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add three more counters for stun ping. #

Total comments: 7

Patch Set 3 : Store ConnectionInfo to Connection to reduce duplication. #

Total comments: 8

Patch Set 4 : Rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -58 lines) Patch
M webrtc/api/statscollector.cc View 1 1 chunk +13 lines, -6 lines 0 comments Download
M webrtc/api/statstypes.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/statstypes.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 2 3 1 chunk +2 lines, -10 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 2 3 2 chunks +4 lines, -10 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 7 chunks +17 lines, -26 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 1 2 3 2 chunks +29 lines, -4 lines 0 comments Download
M webrtc/p2p/base/tcpport.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/transport.h View 1 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Zhi Huang
One question about the type. I noticed that the type of some stats in the ...
4 years, 7 months ago (2016-04-29 20:41:14 UTC) #2
pthatcher1
This looks good, but it would be nice to have the other stats as well. ...
4 years, 7 months ago (2016-05-05 23:30:57 UTC) #3
Zhi Huang
4 years, 7 months ago (2016-05-20 18:05:08 UTC) #4
pthatcher1
https://codereview.webrtc.org/1940493002/diff/20001/webrtc/api/statstypes.cc File webrtc/api/statstypes.cc (right): https://codereview.webrtc.org/1940493002/diff/20001/webrtc/api/statstypes.cc#newcode420 webrtc/api/statstypes.cc:420: return "consentRequestsSent"; I think it's more likely this will ...
4 years, 6 months ago (2016-05-27 21:27:15 UTC) #5
zhihuang1
https://codereview.webrtc.org/1940493002/diff/20001/webrtc/api/statstypes.cc File webrtc/api/statstypes.cc (right): https://codereview.webrtc.org/1940493002/diff/20001/webrtc/api/statstypes.cc#newcode420 webrtc/api/statstypes.cc:420: return "consentRequestsSent"; On 2016/05/27 21:27:15, pthatcher1 wrote: > I ...
4 years, 6 months ago (2016-06-01 21:30:05 UTC) #7
pthatcher1
https://codereview.webrtc.org/1940493002/diff/20001/webrtc/p2p/base/port.h File webrtc/p2p/base/port.h (right): https://codereview.webrtc.org/1940493002/diff/20001/webrtc/p2p/base/port.h#newcode658 webrtc/p2p/base/port.h:658: uint32_t recv_ping_responses_; On 2016/06/01 21:30:05, zhihuang1 wrote: > On ...
4 years, 6 months ago (2016-06-01 21:39:49 UTC) #8
zhihuang1
https://codereview.webrtc.org/1940493002/diff/40001/webrtc/p2p/base/port.h File webrtc/p2p/base/port.h (right): https://codereview.webrtc.org/1940493002/diff/40001/webrtc/p2p/base/port.h#newcode465 webrtc/p2p/base/port.h:465: ConnectionInfo connection_info(); On 2016/06/01 21:39:48, pthatcher1 wrote: > Can ...
4 years, 6 months ago (2016-06-01 22:34:04 UTC) #9
pthatcher1
lgtm
4 years, 6 months ago (2016-06-01 23:24:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1940493002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1940493002/60001
4 years, 6 months ago (2016-06-02 00:03:59 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-02 00:09:20 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 00:09:28 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5ecf16c072cef53ecb270794577c39a66dcbac63
Cr-Commit-Position: refs/heads/master@{#13001}

Powered by Google App Engine
This is Rietveld 408576698