summaryrefslogtreecommitdiffstats
path: root/net/quic
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-20 06:09:53 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-20 06:09:53 +0000
commit55bc876eaee5408e75a5d68ae3cf79aebaa3690d (patch)
tree4deb898a257c0ef56e075e0658e52d772fb223c7 /net/quic
parent3ad4ac510023d6caa425e2762f42e97a7381376d (diff)
downloadchromium_src-55bc876eaee5408e75a5d68ae3cf79aebaa3690d.zip
chromium_src-55bc876eaee5408e75a5d68ae3cf79aebaa3690d.tar.gz
chromium_src-55bc876eaee5408e75a5d68ae3cf79aebaa3690d.tar.bz2
Add a new histogram to track he value of the TCP cubic sender's CWND
when the session is closed. Net.QuicSession.FinalTcpCwnd R=jar@chromium.org BUG= Review URL: https://codereview.chromium.org/28273003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic')
-rw-r--r--net/quic/congestion_control/tcp_cubic_sender.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/quic/congestion_control/tcp_cubic_sender.cc b/net/quic/congestion_control/tcp_cubic_sender.cc
index ef34e3f..36164b1 100644
--- a/net/quic/congestion_control/tcp_cubic_sender.cc
+++ b/net/quic/congestion_control/tcp_cubic_sender.cc
@@ -6,6 +6,8 @@
#include <algorithm>
+#include "base/metrics/histogram.h"
+
namespace net {
namespace {
@@ -44,6 +46,7 @@ TcpCubicSender::TcpCubicSender(
}
TcpCubicSender::~TcpCubicSender() {
+ UMA_HISTOGRAM_COUNTS("Net.QuicSession.FinalTcpCwnd", congestion_window_);
}
void TcpCubicSender::OnIncomingQuicCongestionFeedbackFrame(