Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index e35ae92e0c9f08a2a52273a11e3c56362403f57b..fab25b1c6b5165818e3b91356611a65d10d73a15 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -3499,6 +3499,49 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="DiskBasedCertCache.CertIo" enum="CertificateChainPosition"> |
+ <owner>brandonsalmon@chromium.org</owner> |
+ <summary> |
+ Records information about DiskBasedCertCache operations with respect to |
+ certificate chain positions. Zero indicates that a certificate is root, one |
+ indicates that it is the first intermediate certificate, etc. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskBasedCertCache.CertIoReadSuccessLeaf" |
+ enum="BooleanSuccess"> |
+ <owner>brandonsalmon@chromium.org</owner> |
+ <summary> |
+ Whether or not the leaf certificate of a certificate chain was successfuly |
+ read from the disk cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskBasedCertCache.CertIoWriteSuccessLeaf" |
+ enum="BooleanSuccess"> |
+ <owner>brandonsalmon@chromium.org</owner> |
+ <summary> |
+ Whether or not the leaf certificate of a certificate chain was successfully |
+ written to the disk cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskBasedCertCache.ChainReadTime" units="milliseconds"> |
+ <owner>brandonsalmon@chromium.org</owner> |
+ <summary> |
+ Measures the wall clock time from when the reading of a certificate chain to |
+ disk cache is issued until the last certificate is retrieved. |
jar (doing other things)
2014/07/10 00:14:52
Nit: Suggest at least commas, and probably use mul
|
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskBasedCertCache.ChainWriteTime" units="milliseconds"> |
+ <owner>brandonsalmon@chromium.org</owner> |
+ <summary> |
+ Measures the wall clock time from when the writing of a certificate chain to |
+ disk cache is issued until the last certificate is written. |
+ </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> |
@@ -35403,6 +35446,10 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<int value="20" label="FutureCat (>10.10), 8-bit (?)"/> |
</enum> |
+<enum name="CertificateChainPosition" type="int"> |
+ <int value="0" label="Root Certificate"/> |
+</enum> |
+ |
<enum name="ChannelLayout" type="int"> |
<int value="0" label="CHANNEL_LAYOUT_NONE"/> |
<int value="1" label="CHANNEL_LAYOUT_UNSUPPORTED"/> |
@@ -47582,6 +47629,18 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<affected-histogram name="CertificateType2.NonBR"/> |
</histogram_suffixes> |
+<histogram_suffixes name="CertIo" separator=""> |
+ <suffix name="ReadSuccess" |
+ label="success rate of reading a certificate from the disk cache"/> |
+ <suffix name="ReadFailure" |
+ label="failure rate of reading a certificate from the disk cache"/> |
+ <suffix name="WriteSuccess" |
+ label="success rate of writing a certificate to the disk cache"/> |
+ <suffix name="WriteFailure" |
+ label="failure rate of writing a certificate to the disk cache"/> |
+ <affected-histogram name="DiskBasedCertCache.CertIo"/> |
+</histogram_suffixes> |
+ |
<histogram_suffixes name="CloudPrintRequests" separator="."> |
<suffix name="Register" label="Register request"/> |
<suffix name="UpdatePrinter" label="Update printer request"/> |