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

Generated by: LCOV version 2.0-1