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

Issue 1132293004: Record time between switching the active window from Ash overview mode (Closed)

Created:
5 years, 7 months ago by tdanderson
Modified:
5 years, 7 months ago
Reviewers:
oshima, Mark P, bruthig
CC:
chromium-reviews, kalyank, sadrul, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record time between switching the active window from Ash overview mode Introduce the histogram Ash.WindowSelector.TimeBetweenActiveWindowChanges which records the amount of time between uses of overview mode in which the user selects a window which was not previously active. BUG=488180 TEST=TaskSwitchMetricsRecorderTest.VerifyTaskSwitchesFromOverviewModeAreRecorded Committed: https://crrev.com/0a7ca3368dc1e3c0a6086b84aab005d12ecd3d70 Cr-Commit-Position: refs/heads/master@{#330260}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rewording #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : clarified histogram descriptions #

Total comments: 5

Patch Set 5 : further rewording #

Total comments: 2

Patch Set 6 : after startup #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -1 line) Patch
M ash/metrics/task_switch_metrics_recorder.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ash/metrics/task_switch_metrics_recorder.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M ash/metrics/task_switch_metrics_recorder_unittest.cc View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +15 lines, -1 line 0 comments Download

Messages

Total messages: 19 (4 generated)
tdanderson
Ben, can you PTAL?
5 years, 7 months ago (2015-05-14 22:20:58 UTC) #2
bruthig
See comments inline https://codereview.chromium.org/1132293004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/1/tools/metrics/histograms/histograms.xml#newcode1007 tools/metrics/histograms/histograms.xml:1007: + overview mode (regardless of what ...
5 years, 7 months ago (2015-05-14 22:54:52 UTC) #3
tdanderson
oshima@, can you please take a look at ash/ ? mpearson@, can you please take ...
5 years, 7 months ago (2015-05-14 23:21:39 UTC) #5
bruthig
lgtm
5 years, 7 months ago (2015-05-14 23:24:55 UTC) #6
oshima
lgtm
5 years, 7 months ago (2015-05-15 00:43:55 UTC) #7
tdanderson
Mark, can you PTAL? Note this has been rebased after the ordering issue in histograms.xml ...
5 years, 7 months ago (2015-05-15 16:05:12 UTC) #8
Mark P
https://codereview.chromium.org/1132293004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/40001/tools/metrics/histograms/histograms.xml#newcode1024 tools/metrics/histograms/histograms.xml:1024: + mode is entered. (1) I assume this is ...
5 years, 7 months ago (2015-05-15 17:58:37 UTC) #9
tdanderson
Mark, I have changed the description as you suggested. Can you please take another look? ...
5 years, 7 months ago (2015-05-15 19:06:51 UTC) #10
Mark P
https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml#newcode1010 tools/metrics/histograms/histograms.xml:1010: + units="seconds"> Given that this histogram recording goes through ...
5 years, 7 months ago (2015-05-15 19:26:05 UTC) #11
tdanderson
Hi Mark, please have another look. https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml#newcode1010 tools/metrics/histograms/histograms.xml:1010: + units="seconds"> On ...
5 years, 7 months ago (2015-05-15 19:50:51 UTC) #12
Mark P
histograms.xml lgtm with minor comments --mark https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/60001/tools/metrics/histograms/histograms.xml#newcode1010 tools/metrics/histograms/histograms.xml:1010: + units="seconds"> On ...
5 years, 7 months ago (2015-05-15 19:56:26 UTC) #13
tdanderson
https://codereview.chromium.org/1132293004/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1132293004/diff/80001/tools/metrics/histograms/histograms.xml#newcode1016 tools/metrics/histograms/histograms.xml:1016: + recorded on the second and later times that ...
5 years, 7 months ago (2015-05-15 20:05:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132293004/110001
5 years, 7 months ago (2015-05-15 22:35:11 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 7 months ago (2015-05-16 01:27:16 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:30:34 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0a7ca3368dc1e3c0a6086b84aab005d12ecd3d70
Cr-Commit-Position: refs/heads/master@{#330260}

Powered by Google App Engine
This is Rietveld 408576698