runtime.mstats.heap_inuse (field)
9 uses
runtime (current package)
mgc.go#L1696: memstats.last_heap_inuse = memstats.heap_inuse
mgcscavenge.go#L433: (atomic.Load64(&memstats.heap_inuse)*100)/heapRetained(), "% util",
mheap.go#L1276: atomic.Xadd64(&memstats.heap_inuse, int64(nbytes))
mheap.go#L1467: atomic.Xadd64(&memstats.heap_inuse, -int64(nbytes))
mstats.go#L36: heap_inuse uint64 // bytes in mSpanInUse spans
mstats.go#L508: stats.HeapIdle = memstats.heap_sys.load() - memstats.heap_inuse
mstats.go#L509: stats.HeapInuse = memstats.heap_inuse
mstats.go#L686: if memstats.heap_inuse != uint64(consStats.inHeap) {
mstats.go#L687: print("runtime: heap_inuse=", memstats.heap_inuse, "\n")
 |
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. |