runtime.MemProfileRecord.InUseBytes (method)
6 uses
runtime (current package)
mprof.go#L504: func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
runtime/pprof
pprof.go#L579: sort.Slice(p, func(i, j int) bool { return p[i].InUseBytes() > p[j].InUseBytes() })
pprof.go#L598: total.InUseObjects(), total.InUseBytes(),
pprof.go#L605: r.InUseObjects(), r.InUseBytes(),
protomem.go#L54: values[2], values[3] = scaleHeapSample(r.InUseObjects(), r.InUseBytes(), rate)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |