type internal/profilerecord.MemProfileRecord
14 uses
internal/profilerecord (current package)
profilerecord.go#L15: type MemProfileRecord struct {
profilerecord.go#L21: func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
profilerecord.go#L22: func (r *MemProfileRecord) InUseObjects() int64 { return r.AllocObjects - r.FreeObjects }
runtime
mprof.go#L1001: return memProfileInternal(len(p), inuseZero, func(r profilerecord.MemProfileRecord) {
mprof.go#L1017: func memProfileInternal(size int, inuseZero bool, copyFn func(profilerecord.MemProfileRecord)) (n int, ok bool) {
mprof.go#L1062: r := profilerecord.MemProfileRecord{
mprof.go#L1077: func copyMemProfileRecord(dst *MemProfileRecord, src profilerecord.MemProfileRecord) {
mprof.go#L1096: func pprof_memProfileInternal(p []profilerecord.MemProfileRecord, inuseZero bool) (n int, ok bool) {
mprof.go#L1097: return memProfileInternal(len(p), inuseZero, func(r profilerecord.MemProfileRecord) {
runtime/pprof
pprof.go#L618: var p []profilerecord.MemProfileRecord
pprof.go#L624: p = make([]profilerecord.MemProfileRecord, n+50)
pprof.go#L637: slices.SortFunc(p, func(a, b profilerecord.MemProfileRecord) int {
pprof.go#L984: func pprof_memProfileInternal(p []profilerecord.MemProfileRecord, inuseZero bool) (n int, ok bool)
protomem.go#L16: func writeHeapProto(w io.Writer, p []profilerecord.MemProfileRecord, rate int64, defaultSampleType string) error {