diff --git a/src/runtime/debug.go b/src/runtime/debug.go index 9aec3b03e0..b7e7971104 100644 --- a/src/runtime/debug.go +++ b/src/runtime/debug.go @@ -31,7 +31,7 @@ func GOMAXPROCS(n int) int { return ret } -// NumCPU returns the number of logical CPUs on the local machine. +// NumCPU returns the number of logical CPUs usable by the current process. func NumCPU() int { return int(ncpu) }