summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbruthig <bruthig@chromium.org>2015-05-15 08:41:49 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-15 15:42:03 +0000
commitc343193276d07ebb2b184a790e5c0f60d2f98cd3 (patch)
treee4d05e71d018417c6afb166aa7e8f6530623c6e7 /tools
parentab1256701dbe422937e413bade388a051e9c4e55 (diff)
downloadchromium_src-c343193276d07ebb2b184a790e5c0f60d2f98cd3.zip
chromium_src-c343193276d07ebb2b184a790e5c0f60d2f98cd3.tar.gz
chromium_src-c343193276d07ebb2b184a790e5c0f60d2f98cd3.tar.bz2
Added metrics to track the time between task switches done via Alt+Tab and Alt+Shift+Tab.
TEST=TaskSwitchMetricsRecorderTest.VerifyTaskSwitchesForWindowCycleControllerAreRecorded BUG=478946 Review URL: https://codereview.chromium.org/1126333005 Cr-Commit-Position: refs/heads/master@{#330099}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 4817881..9ced647 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -916,6 +916,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Ash.WindowCycleController.TimeBetweenTaskSwitches"
+ units="seconds">
+ <owner>tdanderson@google.com</owner>
+ <owner>bruthig@google.com</owner>
+ <summary>
+ The number of seconds between task switches triggered by the next window and
+ previous window accelerator keys (ie Alt+Tab, Alt+Shift+Tab).
+ </summary>
+</histogram>
+
<histogram name="Ash.WindowSelector.ArrowKeyPresses">
<owner>flackr@chromium.org</owner>
<owner>tdanderson@chromium.org</owner>