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 /net/quic | |
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
Diffstat (limited to 'net/quic')
-rw-r--r-- | net/quic/quic_client_session.cc | 1 |
1 files changed, 1 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; } |