summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 13:53:37 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 13:53:37 +0000
commit979610f9d1e04ee3999410042e3aa7cfb414eab2 (patch)
tree4c0794dad58e2847ecbf440c4f92879de8eb918e /net
parent0cf6414489d3b7971e11fab7425b8ecdafcebebc (diff)
downloadchromium_src-979610f9d1e04ee3999410042e3aa7cfb414eab2.zip
chromium_src-979610f9d1e04ee3999410042e3aa7cfb414eab2.tar.gz
chromium_src-979610f9d1e04ee3999410042e3aa7cfb414eab2.tar.bz2
Add a new histogram for tracking the number of QUIC streams
created over the life of a session. Net.QuicSession.NumTotalStreams R=jar@chromium.org Review URL: https://codereview.chromium.org/28243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/quic/quic_client_session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc
index 13362b6..3c6fc34 100644
--- a/net/quic/quic_client_session.cc
+++ b/net/quic/quic_client_session.cc
@@ -140,6 +140,8 @@ QuicClientSession::~QuicClientSession() {
UMA_HISTOGRAM_COUNTS("Net.QuicNumSentClientHellosCryptoHandshakeConfirmed",
crypto_stream_->num_sent_client_hellos());
}
+
+ UMA_HISTOGRAM_COUNTS("Net.QuicSession.NumTotalStreams", num_total_streams_);
}
bool QuicClientSession::OnStreamFrames(