summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorrtenneti <rtenneti@chromium.org>2014-12-04 19:49:04 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-05 03:49:26 +0000
commitf7475ffef7f5bb667caffccf65e0abbb1ced3085 (patch)
treecdcf769ce218e8c1839f5b4be33df0c8daad33ea /tools
parenta48d452b6b319946563ca11bc80027de88d6335f (diff)
downloadchromium_src-f7475ffef7f5bb667caffccf65e0abbb1ced3085.zip
chromium_src-f7475ffef7f5bb667caffccf65e0abbb1ced3085.tar.gz
chromium_src-f7475ffef7f5bb667caffccf65e0abbb1ced3085.tar.bz2
ThreadWatcher - Added ThreadWatcher.* histograms. These histograms track
responsive time of UI/IO/CACHE/DB/FILE threads. When a thread is not responsive, they track how many other threads are also not responding. R=asvitkine@chromium.org Review URL: https://codereview.chromium.org/752173008 Cr-Commit-Position: refs/heads/master@{#306969}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 49c15af..4a8c324 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -37425,6 +37425,38 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="ThreadWatcher.ResponseTime" units="milliseconds">
+ <owner>rtenneti@chromium.org</owner>
+ <summary>
+ The time it takes indicated thread to respond with a pong message for a ping
+ message from WatchDog thread.
+ </summary>
+</histogram>
+
+<histogram name="ThreadWatcher.ResponsiveThreads">
+ <owner>rtenneti@chromium.org</owner>
+ <summary>
+ This is the total number of watched threads that are responding when we got
+ no response from the watched thread.
+ </summary>
+</histogram>
+
+<histogram name="ThreadWatcher.Unresponsive" units="milliseconds">
+ <owner>rtenneti@chromium.org</owner>
+ <summary>
+ This is the total unresponsive time since last pong message for the
+ indicated thread when we got no response from the watched thread.
+ </summary>
+</histogram>
+
+<histogram name="ThreadWatcher.UnresponsiveThreads">
+ <owner>rtenneti@chromium.org</owner>
+ <summary>
+ This is the total number of watched threads that are not responding when we
+ got no response from the watched thread.
+ </summary>
+</histogram>
+
<histogram name="TileManager.ExceededMemoryBudget" enum="TileMemoryBudget">
<owner>reveman@chromium.org</owner>
<owner>vmpstr@chromium.org</owner>
@@ -61147,6 +61179,18 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Tabs.SwitchFromUserLatency"/>
</histogram_suffixes>
+<histogram_suffixes name="ThreadWatcher" separator=".">
+ <suffix name="CACHE" label="where watched thread is CACHE BrowserThread."/>
+ <suffix name="DB" label="where watched thread is DB BrowserThread."/>
+ <suffix name="FILE" label="where watched thread is FILE BrowserThread."/>
+ <suffix name="IO" label="where watched thread is IO BrowserThread."/>
+ <suffix name="UI" label="where watched thread is UI BrowserThread."/>
+ <affected-histogram name="ThreadWatcher.ResponseTime"/>
+ <affected-histogram name="ThreadWatcher.ResponsiveThreads"/>
+ <affected-histogram name="ThreadWatcher.Unresponsive"/>
+ <affected-histogram name="ThreadWatcher.UnresponsiveThreads"/>
+</histogram_suffixes>
+
<histogram_suffixes name="Tps65090Fets" separator=".">
<suffix name="Fet1" label="FET1 on tps65090 (register 0xf)"/>
<suffix name="Fet2" label="FET2 on tps65090 (register 0x10)"/>