mirror of
https://github.com/python/cpython.git
synced 2025-12-07 17:57:56 +00:00
Issue #20468: Merge getpagesize doc from 3.4 into 3.5
This commit is contained in:
commit
ce19839961
1 changed files with 1 additions and 4 deletions
|
|
@ -316,10 +316,7 @@ These functions are used to retrieve resource usage information:
|
||||||
.. function:: getpagesize()
|
.. function:: getpagesize()
|
||||||
|
|
||||||
Returns the number of bytes in a system page. (This need not be the same as the
|
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
|
hardware page size.)
|
||||||
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.
|
|
||||||
|
|
||||||
The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage`
|
The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage`
|
||||||
function to specify which processes information should be provided for.
|
function to specify which processes information should be provided for.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue