runtime.sysMemStat.add (method)
9 uses
runtime (current package)
malloc.go#L1381: sysStat.add(int64(size))
malloc.go#L1382: memstats.other_sys.add(-int64(size))
mem_darwin.go#L19: sysStat.add(int64(n))
mem_darwin.go#L43: sysStat.add(-int64(n))
mem_darwin.go#L62: sysStat.add(int64(n))
mheap.go#L1280: memstats.heap_sys.add(-int64(nbytes))
mheap.go#L1471: memstats.heap_sys.add(int64(nbytes))
mstats.go#L752: func (s *sysMemStat) add(n int64) {
os_darwin.go#L261: memstats.stacks_sys.add(int64(stacksize))
![]() |
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. |