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

Issue 2800933002: Add getter for thread type (Closed)

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

Description

Add getter for thread type For the new cpu time metric, we would like to group threads with names like "WorkerPool1/23" and "WorkerPool1/34" as the same "type". This CL adds a getter for the type of a thread. The type is purely a function of the thread name, and there is no way to set it manually. R=benjhayden@chromium.org,tdresser@chromium.org BUG=catapult:#3325 Review-Url: https://codereview.chromium.org/2800933002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/5c399d8801ada5b88f1153fd3fb646bd7eb395e2

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fix nits #

Patch Set 3 : Address comments by benjhayden@ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M tracing/tracing/model/thread.html View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M tracing/tracing/model/thread_test.html View 1 2 1 chunk +37 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (4 generated)
dproy
3 years, 8 months ago (2017-04-05 21:54:35 UTC) #1
tdresser
LGTM with nits. https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html File tracing/tracing/model/thread.html (right): https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html#newcode315 tracing/tracing/model/thread.html:315: const re = /[^0-9 |\/]+/; Would ...
3 years, 8 months ago (2017-04-06 14:06:25 UTC) #2
dproy
https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html File tracing/tracing/model/thread.html (right): https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html#newcode315 tracing/tracing/model/thread.html:315: const re = /[^0-9 |\/]+/; On 2017/04/06 14:06:25, tdresser ...
3 years, 8 months ago (2017-04-06 14:34:38 UTC) #3
benjhayden
https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html File tracing/tracing/model/thread.html (right): https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html#newcode305 tracing/tracing/model/thread.html:305: * Returns a string that denotes the 'type' of ...
3 years, 8 months ago (2017-04-06 23:03:02 UTC) #4
dproy
https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html File tracing/tracing/model/thread.html (right): https://codereview.chromium.org/2800933002/diff/1/tracing/tracing/model/thread.html#newcode305 tracing/tracing/model/thread.html:305: * Returns a string that denotes the 'type' of ...
3 years, 8 months ago (2017-04-06 23:26:23 UTC) #5
dproy
This is ready for review again. PTAL :)
3 years, 8 months ago (2017-04-07 18:43:15 UTC) #6
benjhayden
lgtm
3 years, 8 months ago (2017-04-07 19:57:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2800933002/40001
3 years, 8 months ago (2017-04-07 20:37:55 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 21:01:52 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698