diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 14:09:00 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 14:09:00 +0000 |
commit | cef80605a43ab751238b60ced09382e0cf92101a (patch) | |
tree | 1d9e78909f3747f5eff9b7e8e8bb50d590c1c6f3 | |
parent | ba2c923f112e604aa671e5106bd3dbc537faf0d3 (diff) | |
download | chromium_src-cef80605a43ab751238b60ced09382e0cf92101a.zip chromium_src-cef80605a43ab751238b60ced09382e0cf92101a.tar.gz chromium_src-cef80605a43ab751238b60ced09382e0cf92101a.tar.bz2 |
Add a new histogram to track the number of QUIC streams opened
when a new QUIC stream is created.
Net.QuicSession.NumOpenStreams
R=jar@chromium.org
Review URL: https://codereview.chromium.org/29143003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229561 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/quic/quic_client_session.cc | 1 | ||||
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc index 3c6fc34..4fc32c6 100644 --- a/net/quic/quic_client_session.cc +++ b/net/quic/quic_client_session.cc @@ -236,6 +236,7 @@ QuicClientSession::CreateOutgoingReliableStreamImpl() { new QuicReliableClientStream(GetNextStreamId(), this, net_log_); ActivateStream(stream); ++num_total_streams_; + UMA_HISTOGRAM_COUNTS("Net.QuicSession.NumOpenStreams", GetNumOpenStreams()); return stream; } diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index a33428c..bf81917 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -8383,6 +8383,12 @@ other types of suffix sets. </summary> </histogram> +<histogram name="Net.QuicSession.NumOpenStreams"> + <summary> + The number of QUIC streams opened when a new QUIC stream is created. + </summary> +</histogram> + <histogram name="Net.QuicSession.OutOfOrderGapReceived"> <summary> The number of missing packets between the current received packet and the |