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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1136523004: [Sessions] Add detailed logging of SessionRestore events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored per sky@'s suggestion. Created 5 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 1f7ad6f405204985db0851d3ca630e044b32d33f..6faa74363c764f763621d3b8a5ddb256a9157410 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -35917,6 +35917,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>How did the user interact with the SessionCrashed Bubble?</summary>
</histogram>
+<histogram name="SessionRestore.Actions" enum="SessionRestoreActions">
+ <owner>chrisha@chromium.org</owner>
+ <summary>
+ The actions that have occurred in a session restore timeline. These are to
+ be interpreted as raw event counts. Tabs are almost certainly deferred due
+ to the existence memory pressure, but this may not always be the case.
+ </summary>
+</histogram>
+
<histogram name="SessionRestore.AllTabsLoaded" units="milliseconds">
<owner>jeremy@chromium.org</owner>
<owner>sky@chromium.org</owner>
@@ -36047,6 +36056,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</details>
</histogram>
+<histogram name="SessionRestore.TabActions" enum="SessionRestoreTabActions">
+ <owner>chrisha@chromium.org</owner>
+ <summary>
+ A breakdown of exactly how different tabs were treated during session
+ restore events.
+ </summary>
+</histogram>
+
<histogram name="SessionRestore.TabClosedLongPeriod">
<owner>jeremy@chromium.org</owner>
<owner>sky@chromium.org</owner>
@@ -36064,6 +36081,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="SessionRestore.TabCount" units="tabs">
+ <owner>chrisha@chromium.org</owner>
+ <summary>
+ The number of tabs involved in a single session restore event.
+ </summary>
+</histogram>
+
<histogram name="SessionStorageDatabase.Open" enum="SessionStorageDatabaseOpen">
<owner>michaeln@chromium.org</owner>
<summary>
@@ -62477,6 +62501,23 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="7" label="The bar with UMA opt-in option was shown."/>
</enum>
+<enum name="SessionRestoreActions" type="int">
+ <int value="0" label="A session restore was started"/>
+ <int value="1" label="A session restore deferred one or more tabs"/>
+</enum>
+
+<enum name="SessionRestoreTabActions" type="int">
+ <int value="0" label="A tab was created"/>
+ <int value="1" label="A tab's content was automatically schedule to load"/>
+ <int value="2" label="The loading of a tab's content was deferred"/>
+ <int value="3" label="A tab's content was successfully loaded"/>
+ <int value="4" label="A deferred tab's content was loaded via user action"/>
+ <int value="5" label="A non-deferred not-yet-loaded tab was closed"/>
+ <int value="6" label="A non-deferred loading tab was closed"/>
+ <int value="7" label="A deferred not-yet-loaded tab was closed"/>
+ <int value="8" label="A deferred loading tab was closed"/>
+</enum>
+
<enum name="SessionStartupPref" type="int">
<int value="0" label="Open home page (unused)"/>
<int value="1" label="Continue from last opened pages"/>
« chrome/browser/sessions/tab_loader.cc ('K') | « chrome/browser/sessions/tab_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698