runtime.gcTrigger.now (field)
4 uses
runtime (current package)
mgc.go#L1236: now int64 // gcTriggerTime: current time
mgc.go#L1278: return lastgc != 0 && t.now-lastgc > forcegcperiod
proc.go#L282: gcStart(gcTrigger{kind: gcTriggerTime, now: nanotime()})
proc.go#L5236: if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && atomic.Load(&forcegc.idle) != 0 {
 |
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. |