DescriptionAdd 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@ #
Dependent Patchsets: Messages
Total messages: 13 (4 generated)
|