]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: present the GC time in the usertask view
authorHana Kim <hakim@google.com>
Thu, 25 Jan 2018 20:38:09 +0000 (15:38 -0500)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 21 Feb 2018 19:48:35 +0000 (19:48 +0000)
commitcacf8127e3ce1b0a69df66bec68dbd80126aac87
tree41f838b441965cbb3351fd33e9e4af889632b1ed
parent438a757d73958ca9b9874df32d13e001180906af
cmd/trace: present the GC time in the usertask view

The GC time for a task is defined by the sum of GC duration
overlapping with the task's duration.

Also, grey out non-overlapping slices in the task-oriented
trace view.

R=go1.11

Change-Id: I42def0eb520f5d9bd07edd265e558706f6fab552
Reviewed-on: https://go-review.googlesource.com/90219
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/trace/annotations.go
src/cmd/trace/annotations_test.go
src/cmd/trace/trace.go