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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2476223002: Add metrics for memory coordinator global state change (Closed)
Patch Set: comments addressed Created 4 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/memory/memory_coordinator_impl.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 5705fcf47993a258bed634cbb4585acfd061de96..ca526dced9e7fc64c677fd4ab80ea26e480cac0a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -25554,6 +25554,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Memory.Coordinator.StateDuration" units="seconds">
+ <owner>bashi@chromium.org</owner>
+ <summary>Time elapsed between the global state changes.</summary>
+</histogram>
+
<histogram name="Memory.Coordinator.StateOnCriticalNotificationReceived"
enum="MemoryState">
<owner>bashi@chromium.org</owner>
@@ -25572,6 +25577,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Memory.Coordinator.TotalPrivate" units="MB">
+ <owner>bashi@chromium.org</owner>
+ <summary>
+ The total private working set memory used by the browser and renderer
+ processes when the memory coordinator changes the global memory state.
+ </summary>
+</histogram>
+
<histogram name="Memory.Coordinator.TrimMemoryLevel.Normal"
enum="TrimMemoryLevel">
<owner>bashi@chromium.org</owner>
@@ -107909,6 +107922,17 @@ value.
<affected-histogram name="Media.WatchTime"/>
</histogram_suffixes>
+<histogram_suffixes name="MemoryStateTransition" separator=".">
+ <suffix name="NormalToThrottled"/>
+ <suffix name="NormalToSuspended"/>
+ <suffix name="ThrottledToNormal"/>
+ <suffix name="ThrottledToSuspended"/>
+ <suffix name="SuspendedToNormal"/>
+ <suffix name="SuspendedToThrottled"/>
+ <affected-histogram name="Memory.Coordinator.StateDuration"/>
+ <affected-histogram name="Memory.Coordinator.TotalPrivate"/>
+</histogram_suffixes>
+
<histogram_suffixes name="MobileDownloadBytesDownloadedTypes" separator=".">
<suffix name="ChromeNetworkStack.Failure"/>
<suffix name="ChromeNetworkStack.Success"/>
« no previous file with comments | « content/browser/memory/memory_coordinator_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698