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.2.8-preview. (GOOS=darwin GOARCH=arm64)