summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 00:37:46 +0000
committerpasko@chromium.org <pasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 00:37:46 +0000
commit740df312df7c546b064629efc63aab91f87d937e (patch)
treeb5d8861433606f3c155bbb71554bc95d7fd3be56 /tools
parent3f3dde1b50d61878bf19331ccad5cce07d35a47e (diff)
downloadchromium_src-740df312df7c546b064629efc63aab91f87d937e.zip
chromium_src-740df312df7c546b064629efc63aab91f87d937e.tar.gz
chromium_src-740df312df7c546b064629efc63aab91f87d937e.tar.bz2
SimpleCache: histograms to look after CRC checks
BUG=246170 Review URL: https://chromiumcodereview.appspot.com/16335002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index e54dabf..ea83436 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10016,6 +10016,13 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="SimpleCache.CheckCRCResult" enum="CheckCRCResult">
+ <summary>
+ Whether or not the CRC was checked at the moment when the last reference to
+ a read-only entry stream is closed.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.CreationToIndex" units="milliseconds">
<summary>
The time from the creation of the simple cache backend until the index has
@@ -11751,6 +11758,12 @@ other types of suffix sets.
<int value="29" label="CHANNEL_LAYOUT_DISCRETE"/>
</enum>
+<enum name="CheckCRCResult" type="int">
+ <int value="0" label="Was never read to end"/>
+ <int value="1" label="CRC check not done"/>
+ <int value="2" label="CRC check done"/>
+</enum>
+
<enum name="ClipboardAction" type="int">
<int value="0" label="Write from non-Incognito"/>
<int value="1" label="Write from Incognito"/>