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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 378063002: Adding cache hit/miss histograms to DiskBasedCertCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DBCC_MRU_Implement
Patch Set: Corruption no longer counted as a DiskCache hit, now counted separately. Created 6 years, 5 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
« net/http/disk_based_cert_cache.cc ('K') | « net/http/disk_based_cert_cache.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 e35ae92e0c9f08a2a52273a11e3c56362403f57b..fa989db3fd62aa3492f0447635e39b87c90e3927 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3499,6 +3499,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="DiskBasedCertCache.CertIoCacheResult" enum="CacheResult">
wtc 2014/07/10 18:21:38 Nit: what does the "Io" mean in the histogram name
brandonsalmon 2014/07/10 18:42:39 Oops missed this comment. I did this because Jim r
+ <owner>brandonsalmon@chromium.org</owner>
+ <summary>
+ Measures the frequency of cache hits in the DiskBasedCertCache.
wtc 2014/07/10 18:21:38 This summary needs updating. This histogram is not
+ </summary>
+</histogram>
+
<histogram name="DiskCache.0.FilesAge" units="hours">
<owner>rvargas@chromium.org</owner>
<summary>The age of the cache's files (wall time).</summary>
@@ -35319,6 +35326,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="HTTP_STREAM_FACTORY_IMPL_JOB_MAIN"/>
</enum>
+<enum name="CacheResult" type="int">
+ <int value="0" label="MEMORY_CACHE_HIT"/>
+ <int value="1" label="DISK_CACHE_HIT"/>
+ <int value="2" label="DISK_CACHE_CORRUPT"/>
+ <int value="3" label="CACHE_MISS"/>
+ <int value="4" label="CACHE_ERROR"/>
+</enum>
+
<enum name="CanvasContextType" type="int">
<int value="0" label="2d"/>
<int value="1" label="webkit-3d"/>
« net/http/disk_based_cert_cache.cc ('K') | « net/http/disk_based_cert_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698