Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1059)

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 2828733003: Add UMA for number of outstanding requests in ResourceDispatcherHostImpl (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 4821073ecc246720d6a50416ed70e1a7290d9012..3667199b497b7e8c288405c19fcb97f55c63cd59 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -742,6 +742,12 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// kAvgBytesPerOutstandingRequest)
int max_outstanding_requests_cost_per_process_;
+ // Largest number of outstanding requests seen so far across all processes.
+ int largest_outstanding_request_count_seen_;
+
+ // Largest number of outstanding requests seen so far in any single process.
+ int largest_outstanding_request_per_process_count_seen_;
+
// Time of the last user gesture. Stored so that we can add a load
// flag to requests occurring soon after a gesture to indicate they
// may be because of explicit user action.

Powered by Google App Engine
This is Rietveld 408576698