]> Cypherpunks repositories - gostls13.git/commit
runtime: always capture GC phase transition times
authorAustin Clements <austin@google.com>
Wed, 29 Jul 2015 16:48:33 +0000 (12:48 -0400)
committerAustin Clements <austin@google.com>
Wed, 29 Jul 2015 20:23:25 +0000 (20:23 +0000)
commit4b71660c5b84a2c47f206145a9913f4418330b59
tree38ba47622f160b86bc7fce9ba87da54b7a091d04
parent87f97c73d37d41e8de261215f7dc7768697246b5
runtime: always capture GC phase transition times

Currently we only capture GC phase transition times if
debug.gctrace>0, but we're about to compute GC CPU utilization
regardless of whether debug.gctrace is set, so we need these
regardless of debug.gctrace.

Change-Id: If3acf16505a43d416e9a99753206f03287180660
Reviewed-on: https://go-review.googlesource.com/12843
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go