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-26 17:16:02 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
GetMemoryChunkHeader 0
MemoryContextAllocationFailure 0
MemoryContextResetChildren 0
MemoryContextSizeFailure 0
MemoryContextStats 0
add_size_error 0
mul_size_error 0
HandleLogMemoryContextInterrupt 12
MemoryContextStatsDetail 12
ProcessLogMemoryContextInterrupt 12
MemoryContextMemConsumed 20
pchomp 289
repalloc_mul_extended 458
MemoryContextStatsInternal 1142
MemoryContextStatsPrint 1142
MemoryContextInit 2376
MemoryContextAllowInCriticalSection 3219
MemoryContextGetParent 11226
MemoryContextIsEmpty 17465
MemoryContextUnregisterResetCallback 17742
repalloc0 41545
repalloc_huge 64598
repalloc_extended 65130
MemoryContextAllocHuge 68494
MemoryContextRegisterResetCallback 72663
mul_size 224555
add_size 547480
MemoryContextDeleteChildren 743112
palloc_mul_extended 988754
pnstrdup 1115606
MemoryContextMemAllocated 1472329
palloc_extended 1503423
MemoryContextTraverseNext 1520636
repalloc_mul 1906010
palloc_aligned 1982772
MemoryContextAllocAligned 2059687
GetMemoryChunkContext 2908699
MemoryContextSetIdentifier 3106626
repalloc 5669032
MemoryContextDelete 6326884
MemoryContextAllocExtended 6678282
MemoryContextDeleteOnly 7474932
MemoryContextSetParent 7664906
MemoryContextCreate 9727204
palloc0_mul 11737136
GetMemoryChunkSpace 21842167
MemoryContextResetOnly 29367586
MemoryContextAllocZero 30029437
MemoryContextCallResetCallbacks 36841471
pstrdup 64233323
palloc_mul 66124909
MemoryContextStrdup 66605300
MemoryContextAlloc 130630099
MemoryContextReset 229538939
pfree 307407510
palloc0 322474439
GetMemoryChunkMethodID 337892538
palloc 461518625

Generated by: LCOV version 2.0-1