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

Issue 2295923003: Expand event timestamp validation check to more platforms (Closed)

Created:
4 years, 3 months ago by majidvp
Modified:
4 years, 2 months ago
Reviewers:
sadrul, Ilya Sherman
CC:
chromium-reviews, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand event timestamp validation check to more platforms Collect UMA metric on validity of event timestamp clock on platforms where we currently check the timebase (i.e., X11, Mac)*. We still only correct invalid timestamps for X11 but will monitor this histogram to see if there is a need for similar corrections on other platforms. Also the histogram is now suffixed to differentiate between BROWSER and RENDERER processes in anticipation of supporting a similar check on renderer process. * The check will cover more platforms in https://codereview.chromium.org/2408063005/ BUG=611950 Committed: https://crrev.com/758cb6139c130fca8d6153d621203c18980005df Cr-Commit-Position: refs/heads/master@{#425032}

Patch Set 1 #

Patch Set 2 : Add Browser/Renderer to histogram #

Total comments: 8

Patch Set 3 : Address feedback #

Total comments: 2

Patch Set 4 : Fix mistake #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -13 lines) Patch
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M ui/events/event_utils.cc View 1 2 1 chunk +7 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (17 generated)
majidvp
4 years, 3 months ago (2016-08-30 19:12:18 UTC) #7
dtapuska
On 2016/08/30 at 19:12:18, majidvp wrote: > So this is a check for validity inside ...
4 years, 3 months ago (2016-08-31 13:21:53 UTC) #8
majidvp
On 2016/08/31 13:21:53, dtapuska wrote: > On 2016/08/30 at 19:12:18, majidvp wrote: > > > ...
4 years, 3 months ago (2016-08-31 15:12:16 UTC) #9
sadrul
On 2016/08/31 15:12:16, majidvp wrote: > On 2016/08/31 13:21:53, dtapuska wrote: > > On 2016/08/30 ...
4 years, 3 months ago (2016-08-31 20:25:39 UTC) #10
majidvp
On 2016/08/31 20:25:39, sadrul wrote: > On 2016/08/31 15:12:16, majidvp wrote: > > On 2016/08/31 ...
4 years, 3 months ago (2016-08-31 20:42:35 UTC) #11
majidvp
sadrul@: friendly ping!
4 years, 3 months ago (2016-09-06 20:11:16 UTC) #12
sadrul
On 2016/09/06 20:11:16, majidvp wrote: > sadrul@: friendly ping! I thought you were going to ...
4 years, 3 months ago (2016-09-07 12:36:46 UTC) #13
majidvp
On 2016/09/07 12:36:46, sadrul wrote: > On 2016/09/06 20:11:16, majidvp wrote: > > sadrul@: friendly ...
4 years, 2 months ago (2016-09-26 18:27:25 UTC) #16
majidvp
+isherman@: For histogram.xml OWNERS review.
4 years, 2 months ago (2016-09-26 18:30:18 UTC) #19
Ilya Sherman
https://codereview.chromium.org/2295923003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2295923003/diff/20001/tools/metrics/histograms/histograms.xml#newcode13543 tools/metrics/histograms/histograms.xml:13543: +<histogram name="Event.TimestampHasValidTimebase" units="boolean"> Why did you remove the enum? ...
4 years, 2 months ago (2016-09-26 19:04:44 UTC) #20
majidvp
https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc File ui/events/event_utils.cc (right): https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc#newcode69 ui/events/event_utils.cc:69: int64_t delta = (now - *timestamp).InMilliseconds(); On 2016/09/26 19:04:44, ...
4 years, 2 months ago (2016-10-11 16:02:07 UTC) #23
sadrul
lgtm ... but it looks like we call ValidateEventTimeClock() only on x11 and mac? If ...
4 years, 2 months ago (2016-10-11 17:52:36 UTC) #24
Ilya Sherman
https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc File ui/events/event_utils.cc (right): https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc#newcode71 ui/events/event_utils.cc:71: UMA_HISTOGRAM_BOOLEAN("Event.TimestampHasValidTimebase.Browser", false); On 2016/10/11 16:02:07, majidvp wrote: > On ...
4 years, 2 months ago (2016-10-11 23:54:09 UTC) #25
majidvp
https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc File ui/events/event_utils.cc (right): https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc#newcode71 ui/events/event_utils.cc:71: UMA_HISTOGRAM_BOOLEAN("Event.TimestampHasValidTimebase.Browser", false); On 2016/10/11 23:54:08, Ilya Sherman wrote: > ...
4 years, 2 months ago (2016-10-12 13:44:22 UTC) #26
majidvp
On 2016/10/11 17:52:36, sadrul wrote: > lgtm ... but it looks like we call ValidateEventTimeClock() ...
4 years, 2 months ago (2016-10-12 15:39:28 UTC) #28
Ilya Sherman
metrics lgtm https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc File ui/events/event_utils.cc (right): https://codereview.chromium.org/2295923003/diff/20001/ui/events/event_utils.cc#newcode71 ui/events/event_utils.cc:71: UMA_HISTOGRAM_BOOLEAN("Event.TimestampHasValidTimebase.Browser", false); On 2016/10/12 13:44:21, majidvp wrote: ...
4 years, 2 months ago (2016-10-13 00:40:17 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295923003/60001
4 years, 2 months ago (2016-10-13 14:13:00 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-13 15:09:07 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 15:11:27 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/758cb6139c130fca8d6153d621203c18980005df
Cr-Commit-Position: refs/heads/master@{#425032}

Powered by Google App Engine
This is Rietveld 408576698