runtime/internal/atomic.Uint64.Add (method)

28 uses

	runtime/internal/atomic (current package)
		types.go#L343: func (u *Uint64) Add(delta int64) uint64 {

	runtime
		arena.go#L793: 	gcController.totalFree.Add(int64(s.npages * pageSize))
		arena.go#L970: 	gcController.totalAlloc.Add(int64(userArenaChunkBytes))
		histogram.go#L108: 		h.underflow.Add(1)
		histogram.go#L129: 		h.overflow.Add(1)
		histogram.go#L134: 	h.counts[bucket*timeHistNumSubBuckets+subBucket].Add(1)
		mcache.go#L175: 		gcController.totalAlloc.Add(bytesAllocated)
		mcache.go#L246: 	gcController.totalAlloc.Add(int64(npages * pageSize))
		mcache.go#L279: 			gcController.totalAlloc.Add(slotsUsed * int64(s.elemsize))
		mem.go#L51: 	gcController.mappedReady.Add(int64(n))
		mem.go#L61: 	gcController.mappedReady.Add(-int64(n))
		mem.go#L76: 	gcController.mappedReady.Add(int64(prepared))
		mem.go#L115: 	gcController.mappedReady.Add(-int64(n))
		mem.go#L129: 	gcController.mappedReady.Add(-int64(n))
		mgcpacer.go#L859: 		live := gcController.heapLive.Add(dHeapLive)
		mgcpacer.go#L869: 			gcController.heapScan.Add(dHeapScan)
		mgcpacer.go#L879: 		c.maxStackScan.Add(amount)
		mgcpacer.go#L884: 		c.maxStackScan.Add(pp.maxStackScanDelta)
		mgcpacer.go#L890: 	c.globalsScan.Add(amount)
		mgcsweep.go#L527: 	mheap_.pagesSwept.Add(int64(s.npages))
		mgcsweep.go#L749: 			gcController.totalFree.Add(int64(nfreed) * int64(s.elemsize))
		mgcsweep.go#L802: 			gcController.totalFree.Add(int64(size))
		mheap.go#L825: 		idx := uintptr(h.reclaimIndex.Add(pagesPerReclaimerChunk) - pagesPerReclaimerChunk)
		mspanset.go#L367: 	return headTailIndex(h.u.Add(1 << 32))
		mspanset.go#L372: 	return headTailIndex(h.u.Add(-(1 << 32)))
		mspanset.go#L377: 	ht := headTailIndex(h.u.Add(1))
		proc.go#L2135: 	gp.goid = sched.goidgen.Add(1)
		proc.go#L4565: 		pp.goidcache = sched.goidgen.Add(_GoidCacheBatch)