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

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

Issue 1083603002: Add histograms to record the number of writes to the prefs file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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:
Download patch
« no previous file with comments | « base/prefs/json_pref_store_unittest.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 13faa0459407454aa6ca5549f7c7743981c213c5..b44dbdf3ecb81d1593473c773cf6900c43017b0c 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -35658,6 +35658,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Settings.JsonDataWriteCount" units="count">
+ <owner>raymes@chromium.org</owner>
+ <summary>
+ The number of writes of a JSON file that occur in every 5 minute period of
+ running Chrome. Suffixed with the name of the corresponding JSON file.
+ </summary>
+</histogram>
+
<histogram name="Settings.MigratedHashesFromLocalState" enum="BooleanMigrated">
<owner>csharp@chromium.org</owner>
<owner>gab@chromium.org</owner>
@@ -67658,6 +67666,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<suffix name="Secure_Preferences" label="Secure Preferences file"/>
<affected-histogram name="Settings.JsonDataReadSizeKilobytes"/>
<affected-histogram name="Settings.JsonDataSizeKilobytes"/>
+ <affected-histogram name="Settings.JsonDataWriteCount"/>
</histogram_suffixes>
<histogram_suffixes name="Prefetch">
« no previous file with comments | « base/prefs/json_pref_store_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698