diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-08-21 23:29:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 23:29:42 +0200 |
commit | fb76f210eb6f093bc06a2f07646e56851818ccf2 (patch) | |
tree | 8b5fd19a3748e94b3577f33634898de3c2c8ebf3 /docs/src | |
parent | 97dcdb1926f6aca43171e1614338bcef067abd59 (diff) | |
download | libuv-fb76f210eb6f093bc06a2f07646e56851818ccf2.tar.gz libuv-fb76f210eb6f093bc06a2f07646e56851818ccf2.zip |
unix: fix uv_getrusage() ru_maxrss reporting (#3721)
Most platforms report it in kilobytes but macOS and Solaris report it in
bytes and pages respectively.
Fixes: https://github.com/nodejs/node/issues/44332
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/misc.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/src/misc.rst b/docs/src/misc.rst index bae44814..f6d26efc 100644 --- a/docs/src/misc.rst +++ b/docs/src/misc.rst @@ -119,7 +119,10 @@ Data types } uv_rusage_t; Members marked with `(X)` are unsupported on Windows. - See :man:`getrusage(2)` for supported fields on Unix + See :man:`getrusage(2)` for supported fields on UNIX-like platforms. + + The maximum resident set size is reported in kilobytes, the unit most + platforms use natively. .. c:type:: uv_cpu_info_t |