summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 08:43:48 +0000
committerpam@chromium.org <pam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 08:43:48 +0000
commitdcacee6d1da3beba9c008f82d483c32931f37537 (patch)
tree967c7b33396b42fd5f32fdf3819b51c2aa2b4d46
parentfd7d3797bc11f48fc51aadd131bc04d29fc5bb9a (diff)
downloadchromium_src-dcacee6d1da3beba9c008f82d483c32931f37537.zip
chromium_src-dcacee6d1da3beba9c008f82d483c32931f37537.tar.gz
chromium_src-dcacee6d1da3beba9c008f82d483c32931f37537.tar.bz2
Add Profile.CreateResult and Profile.CreateTime{Cancel}.
Add metrics for end result and time taken during profile creation. BUG=234991, 246518 Review URL: https://chromiumcodereview.appspot.com/16473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204761 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/metrics/histograms/histograms.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 9ca1618..a060443 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -8565,6 +8565,22 @@ other types of suffix sets.
<summary>The number of installed apps when a profile is opened.</summary>
</histogram>
+<histogram name="Profile.CreateResult" enum="ProfileCreateResult">
+ <summary>Result (final status) when creating a new profile.</summary>
+</histogram>
+
+<histogram name="Profile.CreateTime" units="milliseconds">
+ <summary>Back-end time elapsed while creating a new profile.</summary>
+</histogram>
+
+<histogram name="Profile.CreateTimeCanceled" units="milliseconds">
+ <summary>
+ Time elapsed before the user decided to cancel creation of a new profile.
+ Since only managed-user profile creation can be canceled, this time comes
+ from managed-user registration.
+ </summary>
+</histogram>
+
<histogram name="Renderer.PixelIncreaseFromTransitions">
<summary>
A lower-bound on the percentage increase in memory that would result from
@@ -15551,6 +15567,14 @@ other types of suffix sets.
<int value="3" label="tapdown + tapunconfirmed"/>
</enum>
+<enum name="ProfileCreateResult" type="int">
+ <int value="0" label="Failed locally"/>
+ <int value="1" label="Failed remotely"/>
+ <int value="2" label="Created but not initialized (should never happen)"/>
+ <int value="3" label="Succeeded"/>
+ <int value="4" label="Canceled"/>
+</enum>
+
<enum name="ProtocolVersion" type="int">
<int value="0" label="UNKNOWN"/>
<int value="1" label="HTTP 1.1"/>