runtime.MemProfileRecord.AllocObjects (field)
10 uses
runtime (current package)
mprof.go#L499: AllocObjects, FreeObjects int64 // number of objects allocated, freed
mprof.go#L508: return r.AllocObjects - r.FreeObjects
mprof.go#L596: r.AllocObjects = int64(mp.active.allocs)
runtime/pprof
pprof.go#L589: total.AllocObjects += r.AllocObjects
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#L56: if r.AllocObjects > 0 {
protomem.go#L57: blockSize = r.AllocBytes / r.AllocObjects
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)