runtime.mstats.nmalloc (field)
7 uses
runtime (current package)
mstats.go#L27: nmalloc uint64 // number of mallocs
mstats.go#L488: stats.Mallocs = memstats.nmalloc
mstats.go#L627: memstats.nmalloc = 0
mstats.go#L639: memstats.nmalloc += uint64(consStats.largeAllocCount)
mstats.go#L648: memstats.nmalloc += a
mstats.go#L660: memstats.nmalloc += memstats.tinyallocs
mstats.go#L665: memstats.heap_objects = memstats.nmalloc - memstats.nfree
![]() |
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. |