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

Issue 1982203002: Replace DCHECK() upon unexpected x11 event time with a workaround (Closed)

Created:
4 years, 7 months ago by caseq
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tdresser+watch_chromium.org, tdresser
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace DCHECK() upon unexpected x11 event time with a workaround BUG=611950 Committed: https://crrev.com/905cedbf079a83c048c9cfcf526210efcf7c4abd Cr-Commit-Position: refs/heads/master@{#397315}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : review comments addressed #

Total comments: 2

Patch Set 3 : bool -> enum, renamed metric #

Total comments: 2

Patch Set 4 : removed enum prefixes, removed enum on the back-end #

Patch Set 5 : removed dependency on event_utils, just inline EventTimeForNow() for now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -6 lines) Patch
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +16 lines, -0 lines 0 comments Download
M ui/events/x/events_x_utils.cc View 1 2 3 4 5 chunks +24 lines, -6 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
caseq
Let's use browser time in case we detect x11 time is not using the same ...
4 years, 7 months ago (2016-05-17 03:17:57 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982203002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982203002/20001
4 years, 7 months ago (2016-05-17 03:22:03 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 04:33:36 UTC) #7
majidvp
https://codereview.chromium.org/1982203002/diff/20001/ui/events/x/events_x_utils.cc File ui/events/x/events_x_utils.cc (right): https://codereview.chromium.org/1982203002/diff/20001/ui/events/x/events_x_utils.cc#newcode327 ui/events/x/events_x_utils.cc:327: (base::TimeTicks::Now() - base::TimeTicks()).InMilliseconds()); Please use ui::EventTimeForNow() instead. I don't ...
4 years, 7 months ago (2016-05-17 13:27:53 UTC) #8
tdresser
Let's add a metric recording how often this happens. That way we can ensure that ...
4 years, 7 months ago (2016-05-17 13:55:27 UTC) #10
caseq
+isherman for tools/metrics/OWNERS Comments addressed, ptal. https://codereview.chromium.org/1982203002/diff/20001/ui/events/x/events_x_utils.cc File ui/events/x/events_x_utils.cc (right): https://codereview.chromium.org/1982203002/diff/20001/ui/events/x/events_x_utils.cc#newcode327 ui/events/x/events_x_utils.cc:327: (base::TimeTicks::Now() - base::TimeTicks()).InMilliseconds()); ...
4 years, 7 months ago (2016-05-20 23:41:33 UTC) #12
majidvp
lgtm with some comment on metric name. https://codereview.chromium.org/1982203002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1982203002/diff/40001/tools/metrics/histograms/histograms.xml#newcode12570 tools/metrics/histograms/histograms.xml:12570: +<histogram name="Event.X11TimestampsUsable" ...
4 years, 7 months ago (2016-05-21 00:09:21 UTC) #13
Ilya Sherman
https://codereview.chromium.org/1982203002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1982203002/diff/40001/tools/metrics/histograms/histograms.xml#newcode12570 tools/metrics/histograms/histograms.xml:12570: +<histogram name="Event.X11TimestampsUsable" units="Boolean"> nit: please s/units/enum, and use or ...
4 years, 7 months ago (2016-05-21 00:16:10 UTC) #14
caseq
Renamed the metric and converted it to enum, ptal.
4 years, 7 months ago (2016-05-21 01:34:47 UTC) #15
Ilya Sherman
LGTM % nits: https://codereview.chromium.org/1982203002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1982203002/diff/60001/tools/metrics/histograms/histograms.xml#newcode69678 tools/metrics/histograms/histograms.xml:69678: + <int value="1" label="Timestamps use valid ...
4 years, 7 months ago (2016-05-23 18:36:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982203002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982203002/80001
4 years, 7 months ago (2016-05-23 23:06:49 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/188460)
4 years, 7 months ago (2016-05-23 23:20:42 UTC) #21
caseq
sadrul, could you please stamp this for ui/events/OWNERS?
4 years, 7 months ago (2016-05-23 23:25:18 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982203002/100001
4 years, 7 months ago (2016-05-23 23:36:37 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-24 02:42:04 UTC) #26
sadrul
lgtm
4 years, 7 months ago (2016-05-26 01:50:15 UTC) #27
tdresser
LGTM
4 years, 7 months ago (2016-05-26 12:20:45 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982203002/100001
4 years, 6 months ago (2016-06-01 22:02:55 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239073)
4 years, 6 months ago (2016-06-02 01:53:34 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982203002/100001
4 years, 6 months ago (2016-06-02 05:54:44 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 6 months ago (2016-06-02 06:34:17 UTC) #36
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 06:36:18 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/905cedbf079a83c048c9cfcf526210efcf7c4abd
Cr-Commit-Position: refs/heads/master@{#397315}

Powered by Google App Engine
This is Rietveld 408576698