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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2005753004: Record the number of freshness periods since a stale HttpCache entry was last used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECKs Created 4 years, 7 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/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.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 3b0b4b595c240e49c2e02e834c2d66e5a0b24105..2baf58f77a7ec16c764e759d0627482a7fe1b902 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -17734,6 +17734,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Net error results from restartable cache read errors.</summary>
</histogram>
+<histogram name="HttpCache.StaleEntry.FreshnessPeriodsSinceLastUsed">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ For each http cache transaction for which a cache entry exists but it cannot
+ be used because the entry's age is beyond its freshness: counts how many
+ freshness periods have elapsed since the entry was last used (x1000).
rkaplow 2016/05/24 17:43:25 I'm a bit confused by the unitng (ex. the x1000 me
jkarlin 2016/05/24 17:57:40 See the comment in the cc file.
+ </summary>
+</histogram>
+
<histogram name="HttpCache.ValidationCause" enum="HttpCacheValidationCause">
<owner>jkarlin@chromium.org</owner>
<summary>For each validation attempt, the cause for the validation.</summary>
« net/http/http_cache_transaction.cc ('K') | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698