Skip to content

Commit

Permalink
Merge pull request JuliaLang#19204 from ihnorton/doc_cpu_cores
Browse files Browse the repository at this point in the history
doc: CPU_CORES reports logical processors
  • Loading branch information
ihnorton committed Nov 4, 2016
2 parents 89d9f16 + 35e7514 commit e90a2e4
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 e90a2e4

Please sign in to comment.