summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 05:27:57 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-15 05:27:57 +0000
commit453302cdca11570806f7f471ea52bfcb15a36deb (patch)
treec720c4a20752b5bf09716a42d65d232d8a0c6237 /tools
parentee623eba3c8744c85cb7142c5296021c8dece881 (diff)
downloadchromium_src-453302cdca11570806f7f471ea52bfcb15a36deb.zip
chromium_src-453302cdca11570806f7f471ea52bfcb15a36deb.tar.gz
chromium_src-453302cdca11570806f7f471ea52bfcb15a36deb.tar.bz2
net: Add some extra cache histograms.
Add one histogram to look at the prevalence of Vary:User_Agent and another one to give the wall time for the cache's age. BUG=none TEST=none R=gavinp@chromium.org Review URL: https://codereview.chromium.org/25408002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2b5b538..4acd1ce 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -1921,6 +1921,24 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="DiskCache.0.FilesAge" units="hours">
+ <summary>The age of the cache's files (wall time).</summary>
+</histogram>
+
+<histogram name="DiskCache.2.FilesAge" units="hours">
+ <summary>
+ The age of the cache's files (wall time). Media-specific cache.
+ </summary>
+</histogram>
+
+<histogram name="DiskCache.3.FilesAge" units="hours">
+ <summary>The age of the cache's files (wall time). AppCache.</summary>
+</histogram>
+
+<histogram name="DiskCache.4.FilesAge" units="hours">
+ <summary>The age of the cache's files (wall time). ShaderCache.</summary>
+</histogram>
+
<histogram name="DiskCache.TotalIOTime" units="milliseconds">
<obsolete>
Deprecated.
@@ -4970,6 +4988,10 @@ other types of suffix sets.
<summary>Net error results from restartable cache read errors.</summary>
</histogram>
+<histogram name="HttpCache.Vary" enum="VaryType">
+ <summary>The type of Vary header for a given GET response.</summary>
+</histogram>
+
<histogram name="Import.ImporterType.AutoImport" enum="ImporterType">
<summary>The importer used on first run Auto Import.</summary>
</histogram>
@@ -27384,6 +27406,12 @@ other types of suffix sets.
<int value="2" label="Seed Corrupt"/>
</enum>
+<enum name="VaryType" type="int">
+ <int value="0" label="No Vary header present"/>
+ <int value="1" label="Vary:User-Agent"/>
+ <int value="2" label="Other"/>
+</enum>
+
<enum name="VAVDAH264DecoderFailure" type="int">
<int value="0" label="FRAME_MBS_ONLY_FLAG_NOT_ONE"/>
<int value="1" label="GAPS_IN_FRAME_NUM"/>