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

Issue 1178963003: Trace main thread commit in flow events. (Closed)

Created:
5 years, 6 months ago by yuhaoz
Modified:
5 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, nduca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Trace main thread commit in flow events. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cb094ec4d53952d6a978ca889fe0708cb3b2e027 Cr-Commit-Position: refs/heads/master@{#335091}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make OnCommit virtual and only LatencyInfoSwapPromise can call it to trace flow events. #

Total comments: 3

Patch Set 3 : Make OnCommitForSwapPromises non pure so that not all the derived classes need to implement it. #

Total comments: 2

Patch Set 4 : Naming and comments improvements. #

Total comments: 2

Patch Set 5 : Comments tweak. #

Total comments: 1

Patch Set 6 : Make OnCommitForSwapPromises protected and be called from WillCommit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M cc/output/latency_info_swap_promise.h View 1 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/latency_info_swap_promise.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M cc/output/swap_promise.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
yuhaoz
Include main thread side commit in flow events.
5 years, 6 months ago (2015-06-15 22:17:55 UTC) #2
Yufeng Shen (Slow to review)
https://codereview.chromium.org/1178963003/diff/1/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/1178963003/diff/1/cc/trees/layer_tree_host.h#newcode320 cc/trees/layer_tree_host.h:320: TRACE_ID_DONT_MANGLE(swap_promise_->TraceId()), Not all SwapPromise is carrying LatencyInfo with it, ...
5 years, 6 months ago (2015-06-15 23:48:25 UTC) #3
yuhaoz
Make OnCommit virtual and only LatencyInfoSwapPromise can call it to trace flow events.
5 years, 6 months ago (2015-06-16 00:36:15 UTC) #4
yuhaoz
5 years, 6 months ago (2015-06-16 00:37:02 UTC) #6
Yufeng Shen (Slow to review)
https://codereview.chromium.org/1178963003/diff/20001/cc/output/swap_promise.h File cc/output/swap_promise.h (right): https://codereview.chromium.org/1178963003/diff/20001/cc/output/swap_promise.h#newcode58 cc/output/swap_promise.h:58: maybe giving it an empty implementation (non-virtual) so that ...
5 years, 6 months ago (2015-06-16 15:11:05 UTC) #7
yuhaoz
Make OnCommitForSwapPromises non pure so that not all the derived classes need to implement it.
5 years, 6 months ago (2015-06-16 17:11:54 UTC) #8
Yufeng Shen (Slow to review)
https://codereview.chromium.org/1178963003/diff/40001/cc/output/swap_promise.h File cc/output/swap_promise.h (right): https://codereview.chromium.org/1178963003/diff/40001/cc/output/swap_promise.h#newcode43 cc/output/swap_promise.h:43: // For each SwapPromise, OnCommitForSwapPromises traces its original LatencyInfo ...
5 years, 6 months ago (2015-06-16 17:32:18 UTC) #9
yuhaoz
Naming and comments improvements.
5 years, 6 months ago (2015-06-16 17:45:38 UTC) #10
Yufeng Shen (Slow to review)
nits with some of the comments. cc OWNERS, mind taking a look ? https://codereview.chromium.org/1178963003/diff/60001/cc/output/swap_promise.h File ...
5 years, 6 months ago (2015-06-16 17:54:16 UTC) #11
Yufeng Shen (Slow to review)
lgtm
5 years, 6 months ago (2015-06-17 14:33:43 UTC) #12
brianderson
https://codereview.chromium.org/1178963003/diff/80001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/1178963003/diff/80001/cc/trees/layer_tree_host.cc#newcode1303 cc/trees/layer_tree_host.cc:1303: void LayerTreeHost::OnCommitForSwapPromises() { Can you group this with the ...
5 years, 6 months ago (2015-06-17 18:18:04 UTC) #13
yuhaoz
Make OnCommitForSwapPromises protected and be called from WillCommit.
5 years, 6 months ago (2015-06-18 04:00:51 UTC) #14
brianderson
lgtm
5 years, 6 months ago (2015-06-18 17:50:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1178963003/100001
5 years, 6 months ago (2015-06-18 17:57:20 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-18 19:01:32 UTC) #19
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 19:02:32 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cb094ec4d53952d6a978ca889fe0708cb3b2e027
Cr-Commit-Position: refs/heads/master@{#335091}

Powered by Google App Engine
This is Rietveld 408576698