Examples
-========
+--------
Display the top 10
-------------------
+^^^^^^^^^^^^^^^^^^
Display the 10 files allocating the most memory::
Compute differences
--------------------
+^^^^^^^^^^^^^^^^^^^
Take two snapshots and display the differences::
Get the traceback of a memory block
------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Code to display the traceback of the biggest memory block::
Pretty top
-----------
+^^^^^^^^^^
Code to display the 10 lines allocating the most memory with a pretty output,
ignoring ``<frozen importlib._bootstrap>`` and ``<unknown>`` files::
API
-===
+---
Functions
----------
+^^^^^^^^^
.. function:: clear_traces()
Filter
-------
+^^^^^^
.. class:: Filter(inclusive: bool, filename_pattern: str, lineno: int=None, all_frames: bool=False)
Frame
------
+^^^^^
.. class:: Frame
Snapshot
---------
+^^^^^^^^
.. class:: Snapshot
Statistic
----------
+^^^^^^^^^
.. class:: Statistic
StatisticDiff
--------------
+^^^^^^^^^^^^^
.. class:: StatisticDiff
Trace
------
+^^^^^
.. class:: Trace
Traceback
----------
+^^^^^^^^^
.. class:: Traceback