diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-30 17:46:16 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-30 17:46:16 +0000 |
commit | 75e287db9508753ada184ee4252b679912f6f085 (patch) | |
tree | 34a7c6c90927d9ec9ba251b6c427d2c72a4931da /net/http/http_network_transaction.cc | |
parent | 4b77038ebde3dadd45939b171b181b901544236e (diff) | |
download | chromium_src-75e287db9508753ada184ee4252b679912f6f085.zip chromium_src-75e287db9508753ada184ee4252b679912f6f085.tar.gz chromium_src-75e287db9508753ada184ee4252b679912f6f085.tar.bz2 |
Add a histogram to measure the number of idle sockets when a TCP connection is established.
Review URL: http://codereview.chromium.org/99205
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14955 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction.cc')
-rw-r--r-- | net/http/http_network_transaction.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc index 3c84234..f4fefcc4 100644 --- a/net/http/http_network_transaction.cc +++ b/net/http/http_network_transaction.cc @@ -1033,6 +1033,12 @@ void HttpNetworkTransaction::LogTCPConnectedMetrics() const { host_resolution_and_tcp_connection_latency, base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), 100); + + UMA_HISTOGRAM_COUNTS_100( + FieldTrial::MakeName( + "Net.TCP_Connection_Idle_Sockets", "DnsImpact").data(), + session_->connection_pool()->IdleSocketCountInGroup( + connection_.group_name())); } void HttpNetworkTransaction::LogTransactionConnectedMetrics() const { |