diff options
| author | Shenghou Ma <minux.ma@gmail.com> | 2012-10-22 01:08:13 +0800 |
|---|---|---|
| committer | Shenghou Ma <minux.ma@gmail.com> | 2012-10-22 01:08:13 +0800 |
| commit | c1b7ddc6aa476340e9f1d61edc83102e87fc8f9b (patch) | |
| tree | eab4794bca0e0995491d90dbe485f11ae5cfd148 /src/pkg/runtime/malloc.goc | |
| parent | 3d00648dc1b08873f7e779d5a842641795ec42ad (diff) | |
| download | go-c1b7ddc6aa476340e9f1d61edc83102e87fc8f9b.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime/malloc.goc')
| -rw-r--r-- | src/pkg/runtime/malloc.goc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.goc b/src/pkg/runtime/malloc.goc index 9b74b1040e..7507eb52d0 100644 --- a/src/pkg/runtime/malloc.goc +++ b/src/pkg/runtime/malloc.goc @@ -19,7 +19,7 @@ package runtime #pragma dataflag 16 /* mark mheap as 'no pointers', hiding from garbage collector */ MHeap runtime·mheap; -extern MStats mstats; // defined in extern.go +extern MStats mstats; // defined in zruntime_def_$GOOS_$GOARCH.go extern volatile intgo runtime·MemProfileRate; |
