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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 321823002: histograms.xml: add five zram (compressed memory) histograms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@var-run
Patch Set: histograms.xml: add five zram (compressed memory) histograms Created 6 years, 6 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 | « no previous file | 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 b94d38b37fe23f032008473843f1182ff71f17ba..51c613c67d07a54f304f3e7b0b0de7325c6bedcc 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18458,6 +18458,51 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Platform.ZramCompressedSize" units="MB">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ Compressed swap size in megabytes. This is the actual amount of RAM used by
+ the system to compress memory (i.e. after compression). Snapshot every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramCompressionRatioPercent" units="%">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ The ratio of compressed memory (zram) before and after compression when the
+ denominator at least 1 MB. Ratios of interest are between 1 and 6 (typically
+ between 2 and 3), and we express them as a percentage (between 100% and
+ 600%). The size of memory before compression includes zero-filled pages.
+ Values close to 100% indicate low compression effectiveness. Snapshot every
+ 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramSavings" units="MB">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ RAM savings in megabytes from using memory compression. This is the
+ difference between the RAM size before and after compression. Snapshot
+ every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramZeroPages" units="pages">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ Number of zero-filled pages that the OS is compressing. A large number
+ suggests wasteful allocation. Snapshot every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramZeroRatioPercent" units="%">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ The fraction of compressed memory that consists of zero-filled pages.
+ Snapshot every 30s.
+ </summary>
+</histogram>
+
<histogram name="PlatformFile.UnknownCreateFileErrors" units="code">
<obsolete>
Deprecated as of 2013-05, replaced by
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698