diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-04 19:21:38 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-04 19:29:05 -0800 |
commit | b19ec1be3c35b0ec231282ab51d0b320e2967052 (patch) | |
tree | b9047bb0f4c0eda811c4a8a5f1bc0c3fcd213d80 /doc/lispref/processes.texi | |
parent | af742bb3bbf37b844367e27fd598c6b0ae868d05 (diff) | |
download | emacs-b19ec1be3c35b0ec231282ab51d0b320e2967052.tar.gz |
%CPU can exceed 100 on GNU/Linux
* src/sysdep.c (system_process_attributes) [GNU_LINUX]:
CPU usage can exceed 100% on a multicore platform when Emacs is
not entirely single-threaded.
Diffstat (limited to 'doc/lispref/processes.texi')
-rw-r--r-- | doc/lispref/processes.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index d338d59a814..ed07c1cbf70 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -2382,8 +2382,9 @@ occupied by the process in the machine's physical memory. @item pcpu The percentage of the CPU time used by the process since it started. -The corresponding @var{value} is a floating-point number between 0 and -100. +The corresponding @var{value} is a nonnegative floating-point number. +Although in theory the number can exceed 100 on a multicore platform, +it is usually less than 100 because Emacs is typically single-threaded. @item pmem The percentage of the total physical memory installed on the machine |