summaryrefslogtreecommitdiffstats
path: root/tools/metrics
diff options
context:
space:
mode:
authorhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 22:34:39 +0000
committerhoro@chromium.org <horo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 22:34:39 +0000
commitf4e96139b946f532c1393cf358df051a774c52f2 (patch)
tree3724cd9ccbff80ed4ac9dc3494efa648aec10877 /tools/metrics
parenta40b8453f8d18bcf5c75d078bd80d7455a38b52e (diff)
downloadchromium_src-f4e96139b946f532c1393cf358df051a774c52f2.zip
chromium_src-f4e96139b946f532c1393cf358df051a774c52f2.tar.gz
chromium_src-f4e96139b946f532c1393cf358df051a774c52f2.tar.bz2
Adds SharedWorker related UMAs to histograms.xml.
I add the followings to histograms.xml. SharedWorker.RendererSurviveForWorkerTime SharedWorker.TimeToDeleted SharedWorker.TimeToScriptLoaded SharedWorker.TimeToScriptLoadFailed They were introduced in http://crrev.com/259790 and http://crrev.com/260376. BUG=327256 Review URL: https://codereview.chromium.org/245963004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics')
-rw-r--r--tools/metrics/histograms/histograms.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index d158e70..32f96c6 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -23131,6 +23131,39 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="SharedWorker.RendererSurviveForWorkerTime"
+ units="milliseconds">
+ <owner>horo@chromium.org</owner>
+ <summary>
+ A survival time of RenderProcessHostImpl for the In-renderer Shared Worker
+ from when FastShutdownIfPossible() is called.
+ </summary>
+</histogram>
+
+<histogram name="SharedWorker.TimeToDeleted" units="milliseconds">
+ <owner>horo@chromium.org</owner>
+ <summary>
+ The lifetime of a SharedWorkerHost. This roughly corresponds to the lifetime
+ of SharedWorker.
+ </summary>
+</histogram>
+
+<histogram name="SharedWorker.TimeToScriptLoaded" units="milliseconds">
+ <owner>horo@chromium.org</owner>
+ <summary>
+ The time from the creation of SharedWorkerHost until when WorkerScriptLoaded
+ is called.
+ </summary>
+</histogram>
+
+<histogram name="SharedWorker.TimeToScriptLoadFailed" units="milliseconds">
+ <owner>horo@chromium.org</owner>
+ <summary>
+ The time from the creation of SharedWorkerHost until when
+ WorkerScriptLoadFailed is called.
+ </summary>
+</histogram>
+
<histogram name="Signin.OneClickConfirmation" enum="SigninFlowConfirmations">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>