Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10584)

Issue 254510043: Adds a per-frame power usage chart to the power sample analysis view.

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 8 months ago by charliea
Modified:
8 years, 8 months ago
Reviewers:
beaudoin, nduca(google)
CC:
tracing-review_chromium.org
Base URL:
https://github.com/google/trace-viewer.git@master
Visibility:
Public.

Description

Adds a per-frame power usage chart to the power sample analysis view. Screenshot: http://goo.gl/xWVp7a BUG=#1108

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Changes based on code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -11 lines) Patch
M tracing/trace_viewer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A tracing/tracing/ui/analysis/frame_power_usage_chart.html View 1 1 chunk +138 lines, -0 lines 0 comments Download
A tracing/tracing/ui/analysis/frame_power_usage_chart_test.html View 1 1 chunk +267 lines, -0 lines 0 comments Download
M tracing/tracing/ui/analysis/multi_power_sample_sub_view.html View 1 4 chunks +13 lines, -2 lines 0 comments Download
M tracing/tracing/ui/analysis/multi_power_sample_sub_view_test.html View 2 chunks +39 lines, -9 lines 0 comments Download
M tracing/tracing/ui/base/chart_base.html View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6
charliea
8 years, 8 months ago (2015-08-03 18:43:23 UTC) #1
nduca(google)
looks really nice, lgtm on my part but broad question https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html File tracing/tracing/ui/analysis/frame_power_usage_chart.html (right): https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html#newcode103 ...
8 years, 8 months ago (2015-08-03 19:42:58 UTC) #2
beaudoin
https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html File tracing/tracing/ui/analysis/frame_power_usage_chart.html (right): https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html#newcode61 tracing/tracing/ui/analysis/frame_power_usage_chart.html:61: this.updateContents_(); Should you have a way to set both ...
8 years, 8 months ago (2015-08-03 21:23:46 UTC) #3
charliea
https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html File tracing/tracing/ui/analysis/frame_power_usage_chart.html (right): https://codereview.appspot.com/254510043/diff/80001/tracing/tracing/ui/analysis/frame_power_usage_chart.html#newcode61 tracing/tracing/ui/analysis/frame_power_usage_chart.html:61: this.updateContents_(); On 2015/08/03 21:23:46, beaudoin wrote: > Should you ...
8 years, 8 months ago (2015-08-04 14:35:54 UTC) #4
beaudoin
LGTM
8 years, 8 months ago (2015-08-04 14:54:57 UTC) #5
nduca(google)
8 years, 8 months ago (2015-08-04 16:03:00 UTC) #6
> Given the fact that this is a relatively straightforward refactor and doesn't
> change much in this CL (besides this function), I'm inclined to get this code
> submitted first and do the model rejiggering afterwards, if that's alright
with
> you.
Thats fine. I find that a great technique for avoiding a review roundtrip here
and/or asking for permission to land-the-clean is to file and self assign a bug,
and put todos in the code saying TODO(charliea): fix, link. ymmv of course, but
I've found it to be effective in the past.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b