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.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. |