]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: use different colors for tasks
authorHana Kim <hakim@google.com>
Wed, 25 Apr 2018 16:50:31 +0000 (12:50 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Sun, 29 Apr 2018 18:14:22 +0000 (18:14 +0000)
commitaf5143e384535f824a22e71f33e36f0503ae3bb9
tree839b948613c186e057261a01195db75839052899
parent8a958bb8a6336eb5b56934a7d129b6e4d1e82164
cmd/trace: use different colors for tasks

and assign the same colors for spans belong to the tasks
(sadly, the trace viewer will change the saturation/ligthness
for asynchronous slices so exact color mapping is impossible.
But I hope they are not too far from each other)

Change-Id: Idaaf0828a1e0dac8012d336dcefa1c6572ddca2e
Reviewed-on: https://go-review.googlesource.com/109338
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/cmd/trace/trace.go