mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 09:57:52 +02:00
Make g_slice_debug_tree_statistics() debug-only functionality again.
2007-05-14 Matthias Clasen <mclasen@redhat.com> * glib/gslice.h: * glib/gslice.c: * glib/glib.symbols: Make g_slice_debug_tree_statistics() debug-only functionality again. svn path=/trunk/; revision=5492
This commit is contained in:
committed by
Matthias Clasen
parent
15d995bc79
commit
a061009f52
@@ -255,6 +255,21 @@ is 20.
|
||||
</para>
|
||||
</refsect2>
|
||||
|
||||
</refsect1>
|
||||
<refsect2>
|
||||
<title>Memory statistics</title>
|
||||
|
||||
<para>
|
||||
g_mem_profile() will output a summary g_malloc() memory usage, if memory
|
||||
profiling has been enabled by calling
|
||||
<literal>g_mem_set_vtable (glib_mem_profiler_table)</literal> upon startup.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If GLib has been configured with <option>--enable-debug=yes</option>,
|
||||
then g_slice_debug_tree_statistics() can be called in a debugger to
|
||||
output details about the memory usage of the slice allocator.
|
||||
</para>
|
||||
|
||||
</refsect2>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
Reference in New Issue
Block a user