runtime.MemProfileRecord.AllocBytes (field)
9 uses
runtime (current package)
mprof.go#L498: AllocBytes, FreeBytes int64 // number of bytes allocated, freed
mprof.go#L504: func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
mprof.go#L594: r.AllocBytes = int64(mp.active.alloc_bytes)
runtime/pprof
pprof.go#L588: total.AllocBytes += r.AllocBytes
pprof.go#L599: total.AllocObjects, total.AllocBytes,
pprof.go#L606: r.AllocObjects, r.AllocBytes)
protomem.go#L53: values[0], values[1] = scaleHeapSample(r.AllocObjects, r.AllocBytes, rate)
protomem.go#L57: blockSize = r.AllocBytes / r.AllocObjects
![]() |
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. |