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)