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

Issue 424833009: Draw the start of input latency using its original/ui timestamp (Closed)

Created:
6 years, 4 months ago by Yufeng Shen (Slow to review)
Modified:
6 years, 4 months ago
Reviewers:
dsinclair
CC:
chromium-reviews, tdresser+watch_chromium.org, Rick Byers
Project:
chromium
Visibility:
Public.

Description

Draw the start of input latency using its original/ui timestamp Currently we draw the start of input event's latencyinfo using the timestamp when we issue the async trace event when the input event is passing through RWH. This CL changes that we now draw the start of input event's latencyinfo using the input event's orignial/ui component's timestamp so visually we can better see when the input event was created. BUG=396236 TEST=do scroll latency tracing on pixel/android, see that now latency for TouchMove and GestureScrollUpdate are drawn at the same starting time. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286705

Patch Set 1 #

Total comments: 7

Patch Set 2 : address Dan's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -7 lines) Patch
M base/debug/trace_event.h View 1 2 chunks +16 lines, -0 lines 0 comments Download
M ui/events/latency_info.cc View 1 2 chunks +46 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yufeng Shen (Slow to review)
https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc File ui/events/latency_info.cc (right): https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc#newcode206 ui/events/latency_info.cc:206: "benchmark", Hey Dan, I want to confirm with you ...
6 years, 4 months ago (2014-07-28 23:56:31 UTC) #1
dsinclair
https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc File ui/events/latency_info.cc (right): https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc#newcode203 ui/events/latency_info.cc:203: int64 diff = base::TimeTicks::HighResNow().ToInternalValue() - Do we know how ...
6 years, 4 months ago (2014-07-29 15:35:07 UTC) #2
Yufeng Shen (Slow to review)
https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc File ui/events/latency_info.cc (right): https://codereview.chromium.org/424833009/diff/1/ui/events/latency_info.cc#newcode203 ui/events/latency_info.cc:203: int64 diff = base::TimeTicks::HighResNow().ToInternalValue() - On 2014/07/29 15:35:07, dsinclair ...
6 years, 4 months ago (2014-07-29 20:01:33 UTC) #3
dsinclair
lgtm
6 years, 4 months ago (2014-07-30 13:38:46 UTC) #4
Yufeng Shen (Slow to review)
The CQ bit was checked by miletus@chromium.org
6 years, 4 months ago (2014-07-30 16:55:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miletus@chromium.org/424833009/20001
6 years, 4 months ago (2014-07-30 16:55:56 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-30 22:11:35 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 03:24:13 UTC) #8
Message was sent while issue was closed.
Change committed as 286705

Powered by Google App Engine
This is Rietveld 408576698