DescriptionAdd function to get total cpu time in thread
This adds the most basic building block of the new cpu time metric - a
function to compute total cpu time consumed by a thread within specified
bounds. If slices straddle bounds, we assume cpu usage was uniformly
distributed within the slice.
The function is added to the new cpu_time.html file in
tracing/extras/chrome. This file will eventually contain several other
key pieces of the cpu time metric, similar to the expected queuing time
metric.
BUG=catapult:#3325
Review-Url: https://codereview.chromium.org/2798213002
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/87e8335e7464200d1d500fc5f7ff6ab1f527714c
Patch Set 1 #
Total comments: 8
Patch Set 2 : Delete unused line #Patch Set 3 : Use iterateOverIntersectingIntervals #Patch Set 4 : Change bounds to range #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 16 (6 generated)
|