summaryrefslogtreecommitdiffstats
path: root/tools/metrics
diff options
context:
space:
mode:
authorpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 17:34:49 +0000
committerpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 17:34:49 +0000
commit7a11d3abff0057dbfa280fc1621f9007b59063d9 (patch)
treed487f8491c4ef0e9a1e423d0431bc0608eb7be18 /tools/metrics
parent40a286b1e402f92bf22061ba9442b34b96d07b44 (diff)
downloadchromium_src-7a11d3abff0057dbfa280fc1621f9007b59063d9.zip
chromium_src-7a11d3abff0057dbfa280fc1621f9007b59063d9.tar.gz
chromium_src-7a11d3abff0057dbfa280fc1621f9007b59063d9.tar.bz2
Simple Cache Eviction: report sizes in KiB
The default counts were not useful, since they stop at 1MB, and all eviction operated on sizes more than that. So compute this in KB, which whould provide the range of 1MB - 500MB. Not ideal, but relatively OK. This will probably break the consistency of the number across builds, but it should be fine for our purposes. Just want to double-check if this careless mode is supported by the processing pipeline. BUG=none Review URL: https://chromiumcodereview.appspot.com/17112008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics')
-rw-r--r--tools/metrics/histograms/histograms.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 27b364f..5aaed62 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10729,6 +10729,10 @@ other types of suffix sets.
<summary>The size of the cache at the beginning of an eviction.</summary>
</histogram>
+<histogram name="SimpleCache.Eviction.CacheSizeOnStart2" units="KB">
+ <summary>The size of the cache at the beginning of an eviction.</summary>
+</histogram>
+
<histogram name="SimpleCache.Eviction.EntryCount">
<summary>The number of entries to be erased in an eviction.</summary>
</histogram>
@@ -10739,6 +10743,12 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="SimpleCache.Eviction.MaxCacheSizeOnStart2" units="KB">
+ <summary>
+ The maximum allowed size of the cache at the beginning of an eviction.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.Eviction.Result" enum="BooleanSuccess">
<summary>The result of an eviction.</summary>
</histogram>
@@ -10747,10 +10757,18 @@ other types of suffix sets.
<summary>The number of bytes to be erased in an eviction.</summary>
</histogram>
+<histogram name="SimpleCache.Eviction.SizeOfEvicted2" units="KB">
+ <summary>The amount of memory freed in an eviction.</summary>
+</histogram>
+
<histogram name="SimpleCache.Eviction.SizeWhenDone" units="bytes">
<summary>The size of the cache after running an eviction.</summary>
</histogram>
+<histogram name="SimpleCache.Eviction.SizeWhenDone2" units="KB">
+ <summary>The size of the cache after running an eviction.</summary>
+</histogram>
+
<histogram name="SimpleCache.Eviction.TimeToDone" units="milliseconds">
<summary>Time spent completing an eviction.</summary>
</histogram>