diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-28 22:10:31 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-28 22:10:31 +0000 |
commit | bbbfeff3dc729802a44395a698242371d7a74ee2 (patch) | |
tree | 1a011f78764c6d06f9c48923a05446f9e94a793b /net/socket/tcp_client_socket_pool.h | |
parent | 172acc45664c67f6ec10a13a7f14da3bc4589f68 (diff) | |
download | chromium_src-bbbfeff3dc729802a44395a698242371d7a74ee2.zip chromium_src-bbbfeff3dc729802a44395a698242371d7a74ee2.tar.gz chromium_src-bbbfeff3dc729802a44395a698242371d7a74ee2.tar.bz2 |
Fixup some connection time measurements.
- Net.TCP_Connection_Latency
Time to connect only
- Net.DNS_Resolution_And_TCP_Connection_Latency2
Time to do DNS and Connect
- Net.HttpConnectionLatency
Time for HTTP to connect (includes all delays, DNS, Queue, TCP, etc)
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/517014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.h')
-rw-r--r-- | net/socket/tcp_client_socket_pool.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h index 96ebe73..4da6ea8 100644 --- a/net/socket/tcp_client_socket_pool.h +++ b/net/socket/tcp_client_socket_pool.h @@ -68,7 +68,10 @@ class TCPConnectJob : public ConnectJob { AddressList addresses_; State next_state_; - // The time the Connect() method was called (if it got called). + // The time Connect() was called. + base::TimeTicks start_time_; + + // The time the connect was started (after DNS finished). base::TimeTicks connect_start_time_; DISALLOW_COPY_AND_ASSIGN(TCPConnectJob); |