Mercurial > octave
changeset 31183:932e43d948a6
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 11 Aug 2022 09:38:09 +0200 |
parents | c6c4c6f04170 (current diff) e217b44187a2 (diff) |
children | 68ec7f275f0e |
files | libinterp/corefcn/nproc.cc |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/nproc.cc Wed Aug 10 22:24:58 2022 +0200 +++ b/libinterp/corefcn/nproc.cc Thu Aug 11 09:38:09 2022 +0200 @@ -38,7 +38,10 @@ doc: /* -*- texinfo -*- @deftypefn {} {@var{n} =} nproc () @deftypefnx {} {@var{n} =} nproc (@var{query}) -Return the current number of available processors. +Return the current number of available (logical) processors. + +This returns the number of logical processors. For processors with +hyperthreading, this is larger than the number of physical cores. If called with the optional argument @var{query}, modify how processors are counted as follows: