diff options
author | Jason Evans <jasone@canonware.com> | 2015-03-24 00:25:57 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-03-24 00:26:53 (GMT) |
commit | 4acd75a694173186e9e0399d2855f05ce8553008 (patch) | |
tree | f6ac84f2ccde4e639dddc43c5a6d287f5f1050a3 /doc | |
parent | 8ad6bf360f9ca5c6c9a1d8e5825ee473bb4697da (diff) | |
download | jemalloc-4acd75a694173186e9e0399d2855f05ce8553008.zip jemalloc-4acd75a694173186e9e0399d2855f05ce8553008.tar.gz jemalloc-4acd75a694173186e9e0399d2855f05ce8553008.tar.bz2 |
Add the "stats.allocated" mallctl.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/jemalloc.xml.in | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/doc/jemalloc.xml.in b/doc/jemalloc.xml.in index 01ac38c..adff6a4 100644 --- a/doc/jemalloc.xml.in +++ b/doc/jemalloc.xml.in @@ -1938,6 +1938,23 @@ malloc_conf = "xmalloc:true";]]></programlisting> linkend="stats.arenas.i.metadata.allocated"><mallctl>stats.arenas.<i>.metadata.allocated</mallctl></link>).</para></listitem> </varlistentry> + <varlistentry id="stats.resident"> + <term> + <mallctl>stats.resident</mallctl> + (<type>size_t</type>) + <literal>r-</literal> + [<option>--enable-stats</option>] + </term> + <listitem><para>Maximum number of bytes in physically resident data + pages mapped by the allocator, comprising all pages dedicated to + allocator metadata, pages backing active allocations, and unused dirty + pages. This is a maximum rather than precise because pages may not + actually be physically resident if they correspond to demand-zeroed + virtual memory that has not yet been touched. This is a multiple of the + page size, and is larger than <link + linkend="stats.active"><mallctl>stats.active</mallctl></link>.</para></listitem> + </varlistentry> + <varlistentry id="stats.mapped"> <term> <mallctl>stats.mapped</mallctl> @@ -1945,10 +1962,10 @@ malloc_conf = "xmalloc:true";]]></programlisting> <literal>r-</literal> [<option>--enable-stats</option>] </term> - <listitem><para>Total number of bytes in chunks mapped on behalf of the - application. This is a multiple of the chunk size, and is at least as + <listitem><para>Total number of bytes in active chunks mapped by the + allocator. This is a multiple of the chunk size, and is at least as large as <link - linkend="stats.active"><mallctl>stats.active</mallctl></link>. This + linkend="stats.resident"><mallctl>stats.resident</mallctl></link>. This does not include inactive chunks.</para></listitem> </varlistentry> |