diff options
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/data_memory.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/data_memory.rst b/doc/source/reference/c-api/data_memory.rst index aca98289e..cab587efc 100644 --- a/doc/source/reference/c-api/data_memory.rst +++ b/doc/source/reference/c-api/data_memory.rst @@ -160,8 +160,8 @@ A better technique would be to use a ``PyCapsule`` as a base object: } ... -Memory Allocation ------------------ +Example of memory tracing with ``np.lib.tracemalloc_domain`` +------------------------------------------------------------ Note that since Python 3.6 (or newer), the builtin ``tracemalloc`` module can be used to track allocations inside NumPy. NumPy places its CPU memory allocations into the |