runtime.heapStatsDelta.smallAllocCount (field)
10 uses
runtime (current package)
mcache.go#L178: atomic.Xadduintptr(&stats.smallAllocCount[spc.sizeclass()], uintptr(s.nelems)-uintptr(s.allocCount))
mcache.go#L263: atomic.Xadduintptr(&stats.smallAllocCount[spanClass(i).sizeclass()], -n)
metrics.go#L96: for i, count := range in.heapStats.smallAllocCount[1:] {
metrics.go#L333: for i := range a.smallAllocCount {
metrics.go#L334: n := uint64(a.smallAllocCount[i] - a.smallFreeCount[i])
mstats.go#L646: a := uint64(consStats.smallAllocCount[i])
mstats.go#L778: smallAllocCount [_NumSizeClasses]uintptr // number of allocs for small objects
mstats.go#L799: for i := range b.smallAllocCount {
mstats.go#L800: a.smallAllocCount[i] += b.smallAllocCount[i]
 |
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. |