diff options
author | Russ Cox <rsc@golang.org> | 2010-03-29 17:30:07 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-03-29 17:30:07 -0700 |
commit | 218421ebcdaee59bac41af0fbdf50a525d5b5f52 (patch) | |
tree | c8b2e90bb30a9a9749c06f3e03980cbd4467ebd5 /src/pkg/runtime/extern.go | |
parent | 7f29727c0c5c3e6f12cadbfe988a3edade1d4e2a (diff) | |
download | golang-218421ebcdaee59bac41af0fbdf50a525d5b5f52.tar.gz |
runtime: a couple more memory stats.
now runtime.MemStats.Sys really is the sum of all the other Sys fields.
R=r
CC=golang-dev
http://codereview.appspot.com/843041
Diffstat (limited to 'src/pkg/runtime/extern.go')
-rw-r--r-- | src/pkg/runtime/extern.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/extern.go b/src/pkg/runtime/extern.go index bcef7244a..6d98e50db 100644 --- a/src/pkg/runtime/extern.go +++ b/src/pkg/runtime/extern.go @@ -157,6 +157,8 @@ type MemStatsType struct { MSpanSys uint64 MCacheInuse uint64 // mcache structures MCacheSys uint64 + MHeapMapSys uint64 // heap map + BuckHashSys uint64 // profiling bucket hash table // Garbage collector statistics. NextGC uint64 |