]> Cypherpunks repositories - gostls13.git/commit
runtime: update docs for MemStats.PauseNs
authorShenghou Ma <minux.ma@gmail.com>
Sun, 21 Oct 2012 17:08:13 +0000 (01:08 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 21 Oct 2012 17:08:13 +0000 (01:08 +0800)
commitc1b7ddc6aa476340e9f1d61edc83102e87fc8f9b
treeeab4794bca0e0995491d90dbe485f11ae5cfd148
parent3d00648dc1b08873f7e779d5a842641795ec42ad
runtime: update docs for MemStats.PauseNs
   PauseNs is a circular buffer of recent pause times, and the
most recent one is at [((NumGC-1)+256)%256].

   Also fix comments cross-linking the Go and C definition of
various structs.

R=golang-dev, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/6657047
src/pkg/runtime/malloc.goc
src/pkg/runtime/malloc.h
src/pkg/runtime/mem.go
src/pkg/runtime/mprof.goc