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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1136763004: Add UMA data for memory pressure warning received for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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:
Download patch
« no previous file with comments | « components/sync_driver/sync_prefs.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 b13b369b4f61b5c71b0575e4c7a6cbc9620bfcd9..9154c788805f4bdbde16f612a29aa276ac462f49 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -41552,6 +41552,24 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Sync.MemoryPressureWarningBeforeCrash" units="Times">
Mark P 2015/05/15 19:18:23 units="count" I think would be clearer. "Times" h
Gang Wu 2015/05/15 20:05:56 Done.
+ <owner>gangwu@chromium.org</owner>
+ <summary>
+ Counts the number of times sync service received
Mark P 2015/05/15 19:18:22 nit:times sync service received -> times the sync
Gang Wu 2015/05/15 20:05:56 Done.
Mark P 2015/05/15 20:15:39 nit: Not done; you forgot to add the "the". sync
Gang Wu 2015/05/15 21:13:47 This is really Done :-).
+ MEMORY_PRESSURE_LEVEL_CRITICAL warning before sync service crashed. The sync
Mark P 2015/05/15 19:18:23 How does the sync service crash? How is this diff
Gang Wu 2015/05/15 20:05:56 Sync could crash for several reasons. Browser cra
Mark P 2015/05/15 20:15:39 Please revise the histogram descriptions to explai
+ service will emit this number during next startup.
Mark P 2015/05/15 19:18:22 I notice you're storing this number in a preferenc
Mark P 2015/05/15 19:18:23 If this number is 0, it'll be emitted, right? Ple
Gang Wu 2015/05/15 20:05:56 Yes, even it is 0, the number will be emitted as w
Gang Wu 2015/05/15 20:05:56 the Preference file, which used here, is per-user.
Mark P 2015/05/15 20:15:39 Then when this emission happens depends on what us
+ </summary>
+</histogram>
+
+<histogram name="Sync.MemoryPressureWarningwithoutCrash" units="Times">
Mark P 2015/05/15 19:18:23 Many of the above comments apply to this histogram
Gang Wu 2015/05/15 20:05:56 Done.
+ <owner>gangwu@chromium.org</owner>
+ <summary>
+ Counts the number of times sync service received
+ MEMORY_PRESSURE_LEVEL_CRITICAL warning before sync service shutdown clearly.
Mark P 2015/05/15 19:18:23 nit: clearly -> cleanly
Gang Wu 2015/05/15 20:05:56 Done.
+ The sync service will emit this number during next startup.
+ </summary>
+</histogram>
+
<histogram name="Sync.NigoriMigrationState" enum="SyncNigoriMigrationState">
<owner>zea@chromium.org</owner>
<summary>Breakdown of sync's nigori node keystore migration state.</summary>
« no previous file with comments | « components/sync_driver/sync_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698