summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 04:37:38 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 04:37:38 +0000
commit65b6cf331fd6bebe125635cffd01b595f58638c0 (patch)
tree29e5396d2bdeebc11fa65ec765daa53a25cf0796 /net/base
parent32adee7c520085ce08dc900e98b3baf3fbdaefc6 (diff)
downloadchromium_src-65b6cf331fd6bebe125635cffd01b595f58638c0.zip
chromium_src-65b6cf331fd6bebe125635cffd01b595f58638c0.tar.gz
chromium_src-65b6cf331fd6bebe125635cffd01b595f58638c0.tar.bz2
Add a timing measurement to LoadLog that shows how long a proxy resolve request was stalled waiting to be scheduled to a thread.
TEST=SingleThreadedProxyResolverTest.UpdatesLoadLogWithThreadWait Review URL: http://codereview.chromium.org/570019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/load_log_event_type_list.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/load_log_event_type_list.h b/net/base/load_log_event_type_list.h
index a0acb6c..1a34625 100644
--- a/net/base/load_log_event_type_list.h
+++ b/net/base/load_log_event_type_list.h
@@ -60,7 +60,7 @@ EVENT_TYPE(PROXY_SERVICE_WAITING_FOR_INIT_PAC)
EVENT_TYPE(PROXY_SERVICE_POLL_CONFIG_SERVICE_FOR_CHANGES)
// ------------------------------------------------------------------------
-// ProxyResolverV8
+// Proxy Resolver
// ------------------------------------------------------------------------
// Measures the time taken to execute the "myIpAddress()" javascript binding.
@@ -75,6 +75,10 @@ EVENT_TYPE(PROXY_RESOLVER_V8_DNS_RESOLVE)
// Measures the time taken to execute the "dnsResolveEx()" javascript binding.
EVENT_TYPE(PROXY_RESOLVER_V8_DNS_RESOLVE_EX)
+// Measures the time that a proxy resolve request was stalled waiting for the
+// proxy resolver thread to free-up.
+EVENT_TYPE(WAITING_FOR_SINGLE_PROXY_RESOLVER_THREAD)
+
// ------------------------------------------------------------------------
// ClientSocket::Connect
// ------------------------------------------------------------------------