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

Unified Diff: histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 340113003: Add histograms to record the time since tab was last active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/tools/metrics/
Patch Set: added example and marked new histograms with '[iOS]' 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: histograms/histograms.xml
===================================================================
--- histograms/histograms.xml (revision 278704)
+++ histograms/histograms.xml (working copy)
@@ -10871,6 +10871,22 @@
</summary>
</histogram>
+<histogram name="MemoryWarning.EvictedTabTimeSinceActive" units="ms">
+ <owner>lliabraa@chromium.org</owner>
+ <summary>
+ [iOS] When the OS sends a memory warning and the app evicts a tab, this
+ histogram records the time since the evicted tab was active.
+ </summary>
+</histogram>
+
+<histogram name="MemoryWarning.ProtectedTabTimeSinceActive" units="ms">
+ <owner>lliabraa@chromium.org</owner>
+ <summary>
+ [iOS] When the OS sends a memory warning and the app protects a tab, this
+ histogram records the time since the protected tab was active.
+ </summary>
+</histogram>
+
<histogram name="Mist.SwitchResult" enum="MistSwitchResult">
<owner>benchan@chromium.org</owner>
<summary>
@@ -30254,6 +30270,16 @@
</summary>
</histogram>
+<histogram name="Tab.EvictedTabWasActive" enum="Boolean">
+ <owner>lliabraa@chromium.org</owner>
+ <summary>
+ [iOS] When switching to an evicted tab, this histogram records whether or
+ not the tab had ever been active. For example, the tab was opened via
+ &quot;Open in new tab&quot; but evicted before being viewed for the first
+ time.
+ </summary>
+</histogram>
+
<histogram name="Tab.FormActivityCountEvictedHistogram">
<owner>lliabraa@chromium.org</owner>
<summary>
@@ -30372,6 +30398,22 @@
</summary>
</histogram>
+<histogram name="Tab.TimeSinceActive" units="ms">
+ <owner>lliabraa@chromium.org</owner>
+ <summary>
+ [iOS] When an existing tab becomes active, this histogram records the time
+ since it was made inactive.
+ </summary>
+</histogram>
+
+<histogram name="Tab.TimeSinceActiveEvicted" units="ms">
+ <owner>lliabraa@chromium.org</owner>
+ <summary>
+ [iOS] When an evicted tab becomes active, this histogram records the time
+ since it was made inactive.
+ </summary>
+</histogram>
+
<histogram name="Tab.TimeSinceFormActivityEvictedHistogram" units="ms">
<owner>lliabraa@chromium.org</owner>
<summary>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698