summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorcalamity <calamity@chromium.org>2015-10-19 17:24:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-20 00:25:32 +0000
commit9c79f8034ba1029a359be35be1ef0f95bcf72647 (patch)
tree54d82cd2fbe1f27af6593ff7cec4781aa575bfee /tools
parent392396974b125f81324e3af4ed5579a934fa9ed6 (diff)
downloadchromium_src-9c79f8034ba1029a359be35be1ef0f95bcf72647.zip
chromium_src-9c79f8034ba1029a359be35be1ef0f95bcf72647.tar.gz
chromium_src-9c79f8034ba1029a359be35be1ef0f95bcf72647.tar.bz2
Add Quota.TimeSinceOriginEvicted UMA histogram.
This CL adds a UMA histogram that tracks the amount of time since an origin last had its temporary storage evicted. The last eviction time data is stored by adding a table to the QuotaManager database which tracks the last eviction time for an origin. BUG=542075 Review URL: https://codereview.chromium.org/1403673002 Cr-Commit-Position: refs/heads/master@{#354932}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index d091505..d3427ea 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -36666,6 +36666,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Number of skipped eviction rounds in an hour.</summary>
</histogram>
+<histogram name="Quota.TimeBetweenRepeatedOriginEvictions">
+ <owner>calamity@chromium.org</owner>
+ <summary>
+ Time since an origin was last chosen to be evicted from the storage,
+ recorded each time the origin is evicted (except for the first eviction).
+ </summary>
+</histogram>
+
<histogram name="Quota.TimeDeltaOfEvictionRounds">
<owner>tzik@chromium.org</owner>
<summary>Time between two consecutive active eviction rounds.</summary>