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

Issue 2804043003: [WIP] [DEFINITELY NOT READY TO LAND] Cpu time metric implementation (Closed)

Created:
3 years, 8 months ago by dproy
Modified:
3 years, 6 months ago
Reviewers:
benjhayden
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

This has the full implementation of the metric. The metric will be landed as a series of much smaller CLs - this patch is to sort out high level design issues.

Patch Set 1 #

Patch Set 2 : Diff from base #

Total comments: 8

Patch Set 3 : Add comment explaining empty segments #

Patch Set 4 : Add all tests for multidimensional view #

Patch Set 5 : pick up changes from children #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2536 lines, -206 lines) Patch
M tracing/tracing/extras/chrome/cpu_time.html View 1 2 3 4 2 chunks +158 lines, -0 lines 0 comments Download
A tracing/tracing/extras/chrome/cpu_time_multidimensional_view.md View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M tracing/tracing/extras/chrome/cpu_time_test.html View 1 2 3 4 2 chunks +1403 lines, -0 lines 0 comments Download
A tracing/tracing/extras/chrome/cpu_time_test_utils.html View 1 2 3 4 1 chunk +154 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/cpu_time_metric.html View 1 2 3 4 2 chunks +117 lines, -77 lines 0 comments Download
M tracing/tracing/metrics/system_health/cpu_time_metric_test.html View 1 2 3 4 2 chunks +627 lines, -129 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
benjhayden
https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/chrome/cpu_time.html File tracing/tracing/extras/chrome/cpu_time.html (right): https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/chrome/cpu_time.html#newcode22 tracing/tracing/extras/chrome/cpu_time.html:22: tr.b.math.iterateOverIntersectingIntervals( High-level design question: associatedEvents? Way back in early ...
3 years, 8 months ago (2017-04-07 18:05:17 UTC) #3
dproy
https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/chrome/cpu_time.html File tracing/tracing/extras/chrome/cpu_time.html (right): https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/chrome/cpu_time.html#newcode22 tracing/tracing/extras/chrome/cpu_time.html:22: tr.b.math.iterateOverIntersectingIntervals( On 2017/04/07 18:05:17, benjhayden wrote: > If you ...
3 years, 8 months ago (2017-04-07 18:35:10 UTC) #4
dproy
3 years, 8 months ago (2017-04-07 18:53:49 UTC) #5
https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/...
File tracing/tracing/extras/chrome/cpu_time.html (right):

https://codereview.chromium.org/2804043003/diff/20001/tracing/tracing/extras/...
tracing/tracing/extras/chrome/cpu_time.html:134: segmentToBounds.set(segment,
On 2017/04/07 18:35:10, dproy wrote:
> On 2017/04/07 18:05:17, benjhayden wrote:
> > Drop empty intersections?
> 
> Yes - I missed that. Will update. 

Actually I changed my mind. |segments| is already filtered when this function is
called, and (1) I don't want to redo the intersection check, and (2) having an
entry for each segment in |segments| is a logically pleasing property of have
even if theoretically some of the ranges could be empty. I added a comment
making this decision explicit.

Powered by Google App Engine
This is Rietveld 408576698