LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - mcxt.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 83.2 % 374 311
Test Date: 2026-05-16 11:16:22 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 2753590
GetMemoryChunkHeader 0
GetMemoryChunkMethodID 358428415
GetMemoryChunkSpace 19785577
HandleLogMemoryContextInterrupt 12
MemoryContextAlloc 125604534
MemoryContextAllocAligned 2055689
MemoryContextAllocExtended 5195571
MemoryContextAllocHuge 1459
MemoryContextAllocZero 28513063
MemoryContextAllocationFailure 0
MemoryContextAllowInCriticalSection 2948
MemoryContextCallResetCallbacks 42149171
MemoryContextCreate 9526545
MemoryContextDelete 6196618
MemoryContextDeleteChildren 738319
MemoryContextDeleteOnly 7336613
MemoryContextGetParent 11185
MemoryContextInit 2171
MemoryContextIsEmpty 5636
MemoryContextMemAllocated 1257629
MemoryContextMemConsumed 20
MemoryContextRegisterResetCallback 66844
MemoryContextReset 228256880
MemoryContextResetChildren 0
MemoryContextResetOnly 34813378
MemoryContextSetIdentifier 3064161
MemoryContextSetParent 7519754
MemoryContextSizeFailure 0
MemoryContextStats 0
MemoryContextStatsDetail 12
MemoryContextStatsInternal 1202
MemoryContextStatsPrint 1202
MemoryContextStrdup 62308231
MemoryContextTraverseNext 1408328
MemoryContextUnregisterResetCallback 13915
ProcessLogMemoryContextInterrupt 12
add_size 503934
add_size_error 0
mul_size 216045
mul_size_error 0
palloc 441593624
palloc0 331662593
palloc0_mul 5777629
palloc_aligned 1980520
palloc_extended 17118791
palloc_mul 43564725
palloc_mul_extended 13486076
pchomp 267
pfree 330146170
pnstrdup 1074137
pstrdup 59959949
repalloc 5679122
repalloc0 41582
repalloc_extended 63956
repalloc_huge 63424
repalloc_mul 36661
repalloc_mul_extended 454

Generated by: LCOV version 2.0-1