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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 692723002: Add histograms to gather ResourceScheduler information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ilya nits. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « content/browser/loader/resource_scheduler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index ad49a5763044be2b9f3e29bc3e7ab56d5d37d4df..6895a3fa4824b3ec6751873f310ed4d51487851f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28709,6 +28709,66 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="ResourceScheduler.RequestTimeDeferred_Active">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time the ResourceScheduler is throttling a request after
+ WillStartRequest is called for a request in a client that was
+ user-observable at creation and start time.
+ </summary>
+</histogram>
+
+<histogram name="ResourceScheduler.RequestTimeDeferred_Background">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time the ResourceScheduler is throttling a request after
+ WillStartRequest is called for a request in a client that was background at
+ creation and start time.
+ </summary>
+</histogram>
+
+<histogram name="ResourceScheduler.RequestTimeDeferred_Other">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time the ResourceScheduler is throttling a request after
+ WillStartRequest is called on a request without a Client or a request in a
+ Client which is in a different state since the request was made. Note that
+ this won't capture requests which have switched state an even number of
+ times. Switching from Active to Background back to Active will be recorded
+ in the Active version of this histogram.
+ </summary>
+</histogram>
+
+<histogram name="ResourceScheduler.RequestTimeThrottled_Active">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time between when the request was created and when the
+ ResourceScheduler stops throttling the request in a client that was
+ user-observable at creation and start time.
+ </summary>
+</histogram>
+
+<histogram name="ResourceScheduler.RequestTimeThrottled_Background">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time between when the request was created and when the
+ ResourceScheduler stops throttling the request in a client that was
+ background at creation and start time.
+ </summary>
+</histogram>
+
+<histogram name="ResourceScheduler.RequestTimeThrottled_Other">
+ <owner>aiolos@chromium.org</owner>
+ <summary>
+ The amount of time between when the request was created and when the
+ ResourceScheduler stops throttling a request without a client or a request
+ in a Client which is in a different state since the request was made. Note
+ that this won't capture requests which have switched state an even number of
+ times. Switching from Active to Background back to Active will be recorded
+ in the Active version of this histogram.
+ </summary>
+</histogram>
+
<histogram name="SafeBrowsing.EnabledSettingChanged" enum="BooleanEnabled">
<owner>feng@chromium.org</owner>
<summary>
« no previous file with comments | « content/browser/loader/resource_scheduler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698