func runtime.NumCPU

one use

	runtime (current package)
		debug.go#L42: func NumCPU() int {