runtime.MemProfileRecord.InUseBytes (method)
6 uses
runtime (current package)
mprof.go#L530: func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
runtime/pprof
pprof.go#L580: sort.Slice(p, func(i, j int) bool { return p[i].InUseBytes() > p[j].InUseBytes() })
pprof.go#L599: total.InUseObjects(), total.InUseBytes(),
pprof.go#L606: r.InUseObjects(), r.InUseBytes(),
protomem.go#L54: values[2], values[3] = scaleHeapSample(r.InUseObjects(), r.InUseBytes(), rate)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)