summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authorJules Kouatchou <Jules.Kouatchou-1@nasa.gov>2023-04-25 15:18:55 -0400
committerJules Kouatchou <Jules.Kouatchou-1@nasa.gov>2023-04-25 15:18:55 -0400
commitf0c2aed8f8d4931d259ba808e1b4e428aee27340 (patch)
tree1ee716caba891f740b18af4234aa57744f11bd06 /doc/source/reference/c-api
parent0c03969edaf09f23ccfc122f3cf7413e07cfb3f0 (diff)
downloadnumpy-f0c2aed8f8d4931d259ba808e1b4e428aee27340.tar.gz
Change the section (on memory tracing) title to reflect its content.
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/data_memory.rst4
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