aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/debug.go')
-rw-r--r--src/runtime/debug.go2
1 files changed, 1 insertions, 1 deletions
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)
}