var runtime.gomaxprocs

25 uses

	runtime (current package)
		debug.go#L22: 	ret := int(gomaxprocs)
		mgc.go#L457: 	totalUtilizationGoal := float64(gomaxprocs) * gcBackgroundUtilization
		mgc.go#L470: 		c.fractionalUtilizationGoal = (totalUtilizationGoal - float64(c.dedicatedMarkWorkersNeeded)) / float64(gomaxprocs)
		mgc.go#L477: 		c.dedicatedMarkWorkersNeeded = int64(gomaxprocs)
		mgc.go#L636: 		utilization += float64(c.assistTime) / float64(assistDuration*int64(gomaxprocs))
		mgc.go#L693: 	if gomaxprocs <= 1 {
		mgc.go#L702: 		id := int32(fastrandn(uint32(gomaxprocs - 1)))
		mgc.go#L1362: 	work.stwprocs, work.maxprocs = gomaxprocs, gomaxprocs
		mgc.go#L1724: 	totalCpu := sched.totaltime + (now-sched.procresizetime)*int64(gomaxprocs)
		mgc.go#L1834: 	for gcBgMarkWorkerCount < gomaxprocs {
		mstats.go#L730: 	for i := 0; i < int(gomaxprocs); i++ {
		proc.go#L1083: 	sched.stopwait = gomaxprocs
		proc.go#L1161: 	procs := gomaxprocs
		proc.go#L1477: 	sched.safePointWait = gomaxprocs - 1
		proc.go#L2406: 	if sched.npidle == uint32(gomaxprocs-1) && atomic.Load64(&sched.lastpoll) != 0 {
		proc.go#L2617: 	procs := uint32(gomaxprocs)
		proc.go#L4780: 	old := gomaxprocs
		proc.go#L4904: 	var int32p *int32 = &gomaxprocs // make compiler check that gomaxprocs is an int32
		proc.go#L5141: 		if debug.schedtrace <= 0 && (sched.gcwaiting != 0 || atomic.Load(&sched.npidle) == uint32(gomaxprocs)) {
		proc.go#L5143: 			if atomic.Load(&sched.gcwaiting) != 0 || atomic.Load(&sched.npidle) == uint32(gomaxprocs) {
		proc.go#L5396: 	print("SCHED ", (now-starttime)/1e6, "ms: gomaxprocs=", gomaxprocs, " idleprocs=", sched.npidle, " threads=", mcount(), " spinningthreads=", sched.nmspinning, " idlethreads=", sched.nmidle, " runqueue=", sched.runqsize)
		proc.go#L5578: 	n := sched.runqsize/gomaxprocs + 1
		proc.go#L6137: 	if i >= active_spin || ncpu <= 1 || gomaxprocs <= int32(sched.npidle+sched.nmspinning)+1 {
		runtime2.go#L1056: 	gomaxprocs int32