|
|
Fix Net.Socket.IdleSocketTimeSaving histogram
IdleSocketTimeSaving is always reported as 0 because
|connect_timing| is null when sockets are reused.
This CL makes the following changes to fix the histogram:
(1) Reused ClientSocketHandle has the |connect_timing|
of the initial connection establishment.
(2) IdleSocket struct has a |connect_timing| field.
(3) Replace IdleSocketTimeSaving with IdleSocketTimeSaving2
BUG= 621197
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -66 lines) |
Patch |
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_proxy_client_socket_pool.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_proxy_client_socket_pool.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_unittest.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_handle.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool.h
|
View
|
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.h
|
View
|
|
4 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base.cc
|
View
|
|
8 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/socket/client_socket_pool_base_unittest.cc
|
View
|
|
19 chunks |
+108 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.h
|
View
|
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_pool.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/socks_client_socket_pool.cc
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_pool.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_pool.cc
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/socket/transport_client_socket_pool.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/transport_client_socket_pool.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/websocket_transport_client_socket_pool.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/socket/websocket_transport_client_socket_pool.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 14 (8 generated)
|