diff libinterp/corefcn/nproc.cc @ 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 32d2b6604a9f e217b44187a2
children e88a07dec498
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: