Skip to content

Commit

Permalink
doc: CPU_CORES reports logical processors
Browse files Browse the repository at this point in the history
  • Loading branch information
ihnorton committed Nov 3, 2016
1 parent 421f079 commit 35e7514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ global CPU_CORES
"""
Sys.CPU_CORES
The number of CPU cores in the system.
The number of logical CPU cores available in the system.
See the Hwloc.jl package for extended information, including number of physical cores.
"""
:CPU_CORES

Expand Down
4 changes: 3 additions & 1 deletion doc/stdlib/constants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ Constants

.. Docstring generated from Julia source
The number of CPU cores in the system.
The number of logical CPU cores available in the system.

See the Hwloc.jl package for extended information, including number of physical cores.

.. data:: Sys.WORD_SIZE

Expand Down

0 comments on commit 35e7514

Please sign in to comment.