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 46663010: DevTools: Show GPU utilization bar on timeline (Closed)

Created:
7 years, 1 month ago by alph
Modified:
7 years, 1 month ago
Reviewers:
caseq, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: Show GPU utilization bar on timeline The patch adds another strip below CPU utilization that shows GPU process utilization. BUG=298951 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161468

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressing comments. #

Total comments: 16

Patch Set 3 : Addressing comments. #

Patch Set 4 : Reverting the reverted container existance check. #

Total comments: 16

Patch Set 5 : Addressing comments. #

Patch Set 6 : Gpu -> GPU #

Total comments: 2

Patch Set 7 : PId -> PID #

Patch Set 8 : Tune PID to hue magic const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -37 lines) Patch
M LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/inspector/tracing.html View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorInstrumentation.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 2 3 4 5 5 chunks +9 lines, -1 line 0 comments Download
M Source/core/inspector/TimelineRecordFactory.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/TimelineRecordFactory.cpp View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.cpp View 1 2 3 4 5 6 2 chunks +25 lines, -0 lines 0 comments Download
M Source/devtools/front_end/Settings.js View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/TimelineManager.js View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M Source/devtools/front_end/TimelineModel.js View 1 2 3 4 5 4 chunks +6 lines, -3 lines 0 comments Download
M Source/devtools/front_end/TimelinePanel.js View 1 2 3 4 5 6 7 11 chunks +48 lines, -11 lines 0 comments Download
M Source/devtools/front_end/TimelinePresentationModel.js View 1 2 6 4 chunks +7 lines, -4 lines 0 comments Download
M Source/devtools/front_end/TracingAgent.js View 3 chunks +11 lines, -2 lines 0 comments Download
M Source/devtools/front_end/timelinePanel.css View 1 2 3 4 2 chunks +16 lines, -9 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
alph
Andrey, Yury, Could you please take a look. Thanks.
7 years, 1 month ago (2013-10-31 09:41:04 UTC) #1
yurys
lgtm https://codereview.chromium.org/46663010/diff/1/Source/core/inspector/TimelineTraceEventProcessor.h File Source/core/inspector/TimelineTraceEventProcessor.h (right): https://codereview.chromium.org/46663010/diff/1/Source/core/inspector/TimelineTraceEventProcessor.h#newcode84 Source/core/inspector/TimelineTraceEventProcessor.h:84: TimelineTraceEventProcessor(WeakPtr<InspectorTimelineAgent>, InspectorClient*, bool); bool collectGpuEvents for better readability? ...
7 years, 1 month ago (2013-10-31 15:06:52 UTC) #2
alph
https://codereview.chromium.org/46663010/diff/1/Source/core/inspector/TimelineTraceEventProcessor.h File Source/core/inspector/TimelineTraceEventProcessor.h (right): https://codereview.chromium.org/46663010/diff/1/Source/core/inspector/TimelineTraceEventProcessor.h#newcode84 Source/core/inspector/TimelineTraceEventProcessor.h:84: TimelineTraceEventProcessor(WeakPtr<InspectorTimelineAgent>, InspectorClient*, bool); On 2013/10/31 15:06:52, Yury Semikhatsky wrote: ...
7 years, 1 month ago (2013-10-31 16:57:59 UTC) #3
caseq
https://codereview.chromium.org/46663010/diff/90001/LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt File LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt (right): https://codereview.chromium.org/46663010/diff/90001/LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt#newcode16 LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt:16: GpuTask : "GpuTask" GPUTask https://codereview.chromium.org/46663010/diff/90001/Source/core/inspector/InspectorTimelineAgent.h File Source/core/inspector/InspectorTimelineAgent.h (right): https://codereview.chromium.org/46663010/diff/90001/Source/core/inspector/InspectorTimelineAgent.h#newcode86 ...
7 years, 1 month ago (2013-11-01 13:04:20 UTC) #4
alph
https://codereview.chromium.org/46663010/diff/90001/LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt File LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt (right): https://codereview.chromium.org/46663010/diff/90001/LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt#newcode16 LayoutTests/inspector/timeline/timeline-enum-stability-expected.txt:16: GpuTask : "GpuTask" On 2013/11/01 13:04:20, caseq wrote: > ...
7 years, 1 month ago (2013-11-01 16:40:19 UTC) #5
alph
ptal https://codereview.chromium.org/46663010/diff/1/Source/devtools/front_end/TimelinePanel.js File Source/devtools/front_end/TimelinePanel.js (right): https://codereview.chromium.org/46663010/diff/1/Source/devtools/front_end/TimelinePanel.js#newcode1013 Source/devtools/front_end/TimelinePanel.js:1013: if (!container) On 2013/10/31 16:58:00, alph wrote: > ...
7 years, 1 month ago (2013-11-01 18:53:20 UTC) #6
caseq
https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp File Source/core/inspector/TimelineTraceEventProcessor.cpp (right): https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp#newcode185 Source/core/inspector/TimelineTraceEventProcessor.cpp:185: registerHandler(InstrumentationEvents::GpuTask, TRACE_EVENT_PHASE_BEGIN, &TimelineTraceEventProcessor::onGpuTaskBegin); How about s/Gpu/GPU/ globally on the ...
7 years, 1 month ago (2013-11-05 14:26:57 UTC) #7
alph
ptal https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp File Source/core/inspector/TimelineTraceEventProcessor.cpp (right): https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp#newcode185 Source/core/inspector/TimelineTraceEventProcessor.cpp:185: registerHandler(InstrumentationEvents::GpuTask, TRACE_EVENT_PHASE_BEGIN, &TimelineTraceEventProcessor::onGpuTaskBegin); On 2013/11/05 14:26:58, caseq wrote: ...
7 years, 1 month ago (2013-11-05 14:59:16 UTC) #8
alph
ptal https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp File Source/core/inspector/TimelineTraceEventProcessor.cpp (right): https://codereview.chromium.org/46663010/diff/210002/Source/core/inspector/TimelineTraceEventProcessor.cpp#newcode185 Source/core/inspector/TimelineTraceEventProcessor.cpp:185: registerHandler(InstrumentationEvents::GpuTask, TRACE_EVENT_PHASE_BEGIN, &TimelineTraceEventProcessor::onGpuTaskBegin); On 2013/11/05 14:59:16, alph wrote: ...
7 years, 1 month ago (2013-11-05 18:28:58 UTC) #9
alph
friendly ping.
7 years, 1 month ago (2013-11-06 16:26:27 UTC) #10
caseq
lgtm https://codereview.chromium.org/46663010/diff/630001/Source/core/inspector/InspectorInstrumentation.h File Source/core/inspector/InspectorInstrumentation.h (right): https://codereview.chromium.org/46663010/diff/630001/Source/core/inspector/InspectorInstrumentation.h#newcode141 Source/core/inspector/InspectorInstrumentation.h:141: extern const char OwnerPId[]; PID https://codereview.chromium.org/46663010/diff/630001/Source/core/inspector/TimelineRecordFactory.cpp File Source/core/inspector/TimelineRecordFactory.cpp ...
7 years, 1 month ago (2013-11-06 16:40:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alph@chromium.org/46663010/820001
7 years, 1 month ago (2013-11-06 17:03:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alph@chromium.org/46663010/1120001
7 years, 1 month ago (2013-11-06 18:22:14 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 19:47:18 UTC) #14
Message was sent while issue was closed.
Change committed as 161468

Powered by Google App Engine
This is Rietveld 408576698