runtime/debug.GCStats.Pause (field)
13 uses
runtime/debug (current package)
garbage.go#L18: Pause []time.Duration // pause history, most recent first
garbage.go#L38: if cap(stats.Pause) < 2*maxPause+3 {
garbage.go#L39: stats.Pause = make([]time.Duration, 2*maxPause+3)
garbage.go#L48: readGCStats(&stats.Pause)
garbage.go#L49: n := len(stats.Pause) - 3
garbage.go#L50: stats.LastGC = time.Unix(0, int64(stats.Pause[n]))
garbage.go#L51: stats.NumGC = int64(stats.Pause[n+1])
garbage.go#L52: stats.PauseTotal = stats.Pause[n+2]
garbage.go#L54: stats.Pause = stats.Pause[:n]
garbage.go#L60: for _, ns := range stats.Pause[n : n+n] {
garbage.go#L72: sorted := stats.Pause[n : n+n]
garbage.go#L73: copy(sorted, stats.Pause)
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |