runtime/internal/atomic.Int64.Add (method)
25 uses
runtime/internal/atomic (current package)
types.go#L108: func (i *Int64) Add(delta int64) int64 {
runtime
mgclimit.go#L150: l.assistTimePool.Add(t)
mgclimit.go#L156: l.idleTimePool.Add(t)
mgclimit.go#L190: l.assistTimePool.Add(-assistTime)
mgclimit.go#L196: l.idleTimePool.Add(-idleTime)
mgclimit.go#L215: sched.idleTime.Add(duration)
mgclimit.go#L476: sched.idleTime.Add(duration)
mgcmark.go#L250: workCounter.Add(workDone)
mgcmark.go#L455: gcController.bgScanCredit.Add(-stolen)
mgcmark.go#L605: gcController.assistTime.Add(pp.gcAssistTime)
mgcmark.go#L672: gcController.bgScanCredit.Add(scanWork)
mgcmark.go#L712: gcController.bgScanCredit.Add(scanWork)
mgcmark.go#L1109: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1129: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1196: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcpacer.go#L845: c.dedicatedMarkTime.Add(duration)
mgcpacer.go#L846: c.dedicatedMarkWorkersNeeded.Add(1)
mgcpacer.go#L848: c.fractionalMarkTime.Add(duration)
mgcpacer.go#L850: c.idleMarkTime.Add(duration)
mgcscavenge.go#L400: scavenge.backgroundTime.Add(end - start)
mgcwork.go#L279: gcController.heapScanWork.Add(w.heapScanWork)
mheap.go#L1340: scavenge.assistTime.Add(now - start)
mprof.go#L1071: offset := int(goroutineProfile.offset.Add(1)) - 1
proc.go#L1111: sched.totalMutexWaitTime.Add((now - gp.trackingStamp) * gTrackingPeriod)
proc.go#L3890: gcController.bgScanCredit.Add(scanCredit)
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. |