LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.5 % 376 299
Test Date: 2026-11-06 16:15:55 Functions: 82.3 % 62 51
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 58.7 % 208 122

Function Name Sort by function name Hit count Sort by function hit count
BogusFree 0
BogusGetChunkContext 0
BogusGetChunkSpace 0
BogusRealloc 0
GetMemoryChunkContext 2830605
GetMemoryChunkHeader 0
GetMemoryChunkMethodID 327745485
GetMemoryChunkSpace 20784391
HandleLogMemoryContextInterrupt 12
MemoryContextAlloc 123852785
MemoryContextAllocAligned 2021532
MemoryContextAllocExtended 6544681
MemoryContextAllocHuge 1620
MemoryContextAllocZero 29507813
MemoryContextAllocationFailure 0
MemoryContextAllowInCriticalSection 3157
MemoryContextCallResetCallbacks 37035852
MemoryContextCreate 9535400
MemoryContextDelete 6195017
MemoryContextDeleteChildren 726361
MemoryContextDeleteOnly 7331827
MemoryContextGetParent 11192
MemoryContextInit 2328
MemoryContextIsEmpty 17406
MemoryContextMemAllocated 1467131
MemoryContextMemConsumed 20
MemoryContextRegisterResetCallback 70037
MemoryContextReset 226720130
MemoryContextResetChildren 0
MemoryContextResetOnly 29705065
MemoryContextSetIdentifier 3031772
MemoryContextSetParent 7514396
MemoryContextSizeFailure 0
MemoryContextStats 0
MemoryContextStatsDetail 12
MemoryContextStatsInternal 1150
MemoryContextStatsPrint 1150
MemoryContextStrdup 61719396
MemoryContextTraverseNext 1523458
MemoryContextUnregisterResetCallback 16116
ProcessLogMemoryContextInterrupt 12
add_size 539337
add_size_error 0
mul_size 221444
mul_size_error 0
palloc 439110193
palloc0 314603310
palloc0_mul 11542864
palloc_aligned 1945967
palloc_extended 1437579
palloc_mul 62530259
palloc_mul_extended 937844
pchomp 292
pfree 298465116
pnstrdup 1114662
pstrdup 59399404
repalloc 5600416
repalloc0 41170
repalloc_extended 64957
repalloc_huge 64429
repalloc_mul 1862638
repalloc_mul_extended 454

Generated by: LCOV version 2.0-1