LCOV - code coverage report
Current view: top level - Objects - obmalloc.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit 5e6661bce9] Lines: 373 845 44.1 %
Date: 2023-03-20 08:15:36 Functions: 42 70 60.0 %
Branches: 160 418 38.3 %

Function Name Sort by function name Hit count Sort by hit count
PyMem_Calloc 2047302
PyMem_Free 7212922
PyMem_GetAllocator 438
PyMem_Malloc 3712262
PyMem_RawCalloc 77287
PyMem_RawFree 1284043
PyMem_RawMalloc 1201533
PyMem_RawRealloc 62195
PyMem_Realloc 1323774
PyMem_SetAllocator 874
PyMem_SetupDebugHooks 0
PyObject_Calloc 143833
PyObject_Free 22804385
PyObject_GetArenaAllocator 0
PyObject_Malloc 22681387
PyObject_Realloc 135507
PyObject_SetArenaAllocator 0
_PyDebugAllocatorStats 0
_PyMem_ArenaAlloc 222
_PyMem_ArenaFree 169
_PyMem_DebugCalloc 0
_PyMem_DebugCheckAddress 0
_PyMem_DebugCheckGIL 0
_PyMem_DebugEnabled 0
_PyMem_DebugFree 0
_PyMem_DebugMalloc 0
_PyMem_DebugRawAlloc 0
_PyMem_DebugRawCalloc 0
_PyMem_DebugRawFree 0
_PyMem_DebugRawMalloc 0
_PyMem_DebugRawRealloc 0
_PyMem_DebugRealloc 0
_PyMem_GetAllocatorName 0
_PyMem_GetCurrentAllocatorName 0
_PyMem_PymallocEnabled 0
_PyMem_RawCalloc 77287
_PyMem_RawFree 1284043
_PyMem_RawMalloc 1201533
_PyMem_RawRealloc 62195
_PyMem_RawStrdup 79
_PyMem_RawWcsdup 2900
_PyMem_SetDefaultAllocator 437
_PyMem_SetupAllocators 0
_PyMem_SetupDebugHooksDomain 0
_PyMem_Strdup 1
_PyObject_Calloc 2191135
_PyObject_DebugDumpAddress 0
_PyObject_DebugMallocStats 0
_PyObject_Free 30181494
_PyObject_Malloc 27723084
_PyObject_Realloc 1459281
_PyObject_VirtualAlloc 25
_PyObject_VirtualFree 25
_Py_GetAllocatedBlocks 0
address_in_range 30180306
allocate_from_new_pool 29016
arena_map_is_used 30180306
arena_map_mark_used 341
insert_to_freepool 28372
insert_to_usedpool 3848245
new_arena 197
printone 0
pymalloc_alloc 29914219
pymalloc_free 29886273
pymalloc_pool_extend 7985340
pymalloc_realloc 294033
pymem_set_default_allocator 437
pymemallocator_eq 0
read_size_t 0
write_size_t 0

Generated by: LCOV version 1.14