LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19beta1 Lines: 83.2 % 374 311
Test Date: 2026-06-27 17:16:41 Functions: 82.3 % 62 51
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
BogusFree 0
BogusGetChunkContext 0
BogusGetChunkSpace 0
BogusRealloc 0
GetMemoryChunkContext 2638780
GetMemoryChunkHeader 0
GetMemoryChunkMethodID 357092724
GetMemoryChunkSpace 19910273
HandleLogMemoryContextInterrupt 12
MemoryContextAlloc 123480796
MemoryContextAllocAligned 2064800
MemoryContextAllocExtended 5194838
MemoryContextAllocHuge 1506
MemoryContextAllocZero 28537817
MemoryContextAllocationFailure 0
MemoryContextAllowInCriticalSection 2931
MemoryContextCallResetCallbacks 41314851
MemoryContextCreate 9495134
MemoryContextDelete 6167103
MemoryContextDeleteChildren 732965
MemoryContextDeleteOnly 7293218
MemoryContextGetParent 11205
MemoryContextInit 2161
MemoryContextIsEmpty 5664
MemoryContextMemAllocated 1263105
MemoryContextMemConsumed 20
MemoryContextRegisterResetCallback 68067
MemoryContextReset 224524157
MemoryContextResetChildren 0
MemoryContextResetOnly 34022453
MemoryContextSetIdentifier 3067535
MemoryContextSetParent 7479353
MemoryContextSizeFailure 0
MemoryContextStats 0
MemoryContextStatsDetail 12
MemoryContextStatsInternal 1202
MemoryContextStatsPrint 1202
MemoryContextStrdup 60843646
MemoryContextTraverseNext 1404964
MemoryContextUnregisterResetCallback 13963
ProcessLogMemoryContextInterrupt 12
add_size 502103
add_size_error 0
mul_size 215890
mul_size_error 0
palloc 433050106
palloc0 325570940
palloc0_mul 5777125
palloc_aligned 1989355
palloc_extended 17111876
palloc_mul 43465702
palloc_mul_extended 13480592
pchomp 281
pfree 328860273
pnstrdup 1075639
pstrdup 58486389
repalloc 5618018
repalloc0 41745
repalloc_extended 65380
repalloc_huge 64848
repalloc_mul 38087
repalloc_mul_extended 454

Generated by: LCOV version 2.0-1