diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-17 22:13:47 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-17 22:13:47 (GMT) |
commit | f8f66eb985c932414832c76fad862651a47471ec (patch) | |
tree | 7b1355822e4e1fab72af14178e1496b165da962d /Doc/library/resource.rst | |
parent | 5d7e3b6cd208dffdfe8530664081b62e0c7e3092 (diff) | |
download | cpython-f8f66eb985c932414832c76fad862651a47471ec.zip cpython-f8f66eb985c932414832c76fad862651a47471ec.tar.gz cpython-f8f66eb985c932414832c76fad862651a47471ec.tar.bz2 |
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Diffstat (limited to 'Doc/library/resource.rst')
-rw-r--r-- | Doc/library/resource.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index 7c0e4ca..a7b229e 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -316,10 +316,7 @@ These functions are used to retrieve resource usage information: .. function:: getpagesize() Returns the number of bytes in a system page. (This need not be the same as the - hardware page size.) This function is useful for determining the number of bytes - of memory a process is using. The third element of the tuple returned by - :func:`getrusage` describes memory usage in pages; multiplying by page size - produces number of bytes. + hardware page size.) The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage` function to specify which processes information should be provided for. |