runtime.mstats.numgc (field)
10 uses
runtime (current package)
metrics.go#L368: a.gcCyclesDone = uint64(memstats.numgc)
mgc.go#L1710: memstats.pause_ns[memstats.numgc%uint32(len(memstats.pause_ns))] = uint64(work.pauseNS)
mgc.go#L1711: memstats.pause_end[memstats.numgc%uint32(len(memstats.pause_end))] = uint64(unixNow)
mgc.go#L1737: memstats.numgc++
mgc.go#L1778: print("gc ", memstats.numgc,
mstats.go#L76: numgc uint32
mstats.go#L531: stats.NumGC = memstats.numgc
mstats.go#L575: n := memstats.numgc
mstats.go#L586: j := (memstats.numgc - 1 - i) % uint32(len(memstats.pause_ns))
mstats.go#L592: p[n+n+1] = uint64(memstats.numgc)
![]() |
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. |