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

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

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: Fix tests 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
« no previous file with comments | « net/http/mock_http_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 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).
+ </summary>
+</histogram>
+
<histogram name="HttpCache.ValidationCause" enum="HttpCacheValidationCause">
<owner>jkarlin@chromium.org</owner>
<summary>For each validation attempt, the cause for the validation.</summary>
« no previous file with comments | « net/http/mock_http_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698