aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.h
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-10-22 01:08:13 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-10-22 01:08:13 +0800
commitc1b7ddc6aa476340e9f1d61edc83102e87fc8f9b (patch)
treeeab4794bca0e0995491d90dbe485f11ae5cfd148 /src/pkg/runtime/malloc.h
parent3d00648dc1b08873f7e779d5a842641795ec42ad (diff)
downloadgo-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.h')
-rw-r--r--src/pkg/runtime/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h
index f2e0c8b9ab..3e696d066d 100644
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -198,7 +198,7 @@ void runtime·FixAlloc_Free(FixAlloc *f, void *p);
// Statistics.
-// Shared with Go: if you edit this structure, also edit extern.go.
+// Shared with Go: if you edit this structure, also edit type MemStats in mem.go.
struct MStats
{
// General statistics.