]> Cypherpunks repositories - gostls13.git/commit
runtime: track time spent in mutator assists
authorAustin Clements <austin@google.com>
Tue, 17 Mar 2015 16:17:47 +0000 (12:17 -0400)
committerAustin Clements <austin@google.com>
Tue, 21 Apr 2015 15:35:22 +0000 (15:35 +0000)
commit100da60979087cac50c186b4928ee695ace2db62
tree6e045a3f0e6b5cee5cb1c47d7873b066891f0bc0
parent4b2fde945a79657cf77b8a173c0143208e7b88b1
runtime: track time spent in mutator assists

This time is tracked per P and periodically flushed to the global
controller state. This will be used to compute mutator assist
utilization in order to schedule background GC work.

Change-Id: Ib94f90903d426a02cf488bf0e2ef67a068eb3eec
Reviewed-on: https://go-review.googlesource.com/8837
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/runtime2.go