LCOV - code coverage report
Current view: top level - src/backend/storage/buffer - bufmgr.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1341 1530 87.6 %
Date: 2024-12-03 16:14:46 Functions: 86 94 91.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
BufferIsDirty 0
BufferIsExclusiveLocked 0
DebugPrintBufferRefcount 0
EvictUnpinnedBuffer 0
ResOwnerPrintBufferIO 0
ResOwnerPrintBufferPin 0
buffertag_comparator 0
local_buffer_write_error_callback 0
FlushDatabaseBuffers 8
HoldingBufferPinThatDelaysRecovery 8
AbortBufferIO 30
ResOwnerReleaseBufferIO 30
FlushRelationsAllBuffers 38
FlushOneBuffer 58
shared_buffer_write_error_callback 80
DropDatabaseBuffers 112
FlushRelationBuffers 280
DropRelationBuffers 1186
FindAndDropRelationBuffers 1562
IssuePendingWritebacks 1874
WaitIO 2154
BufferSync 2476
CheckPointBuffers 2476
IsBufferCleanupOK 4024
WritebackContextInit 4668
WaitBufHdrUnlocked 5520
ResOwnerReleaseBufferPin 8908
ReadRecentBuffer 9212
BgBufferSync 17960
DropRelationsAllBuffers 25388
AtProcExit_Buffers 33218
InitBufferManagerAccess 33218
LockBufferForCleanup 34982
UnlockBuffers 89068
ExtendBufferedRel 89686
CreateAndCopyRelationData 96800
ExtendBufferedRelTo 97068
RelationCopyStorageUsingBuffer 128772
InvalidateBuffer 195666
ExtendBufferedRelBy 290732
ExtendBufferedRelShared 374096
PrefetchBuffer 388690
ExtendBufferedRelCommon 391768
ts_ckpt_progress_comparator 402034
PrefetchSharedBuffer 404192
ConditionalLockBufferForCleanup 503840
ZeroAndLockBuffer 551944
AtEOXact_Buffers 752020
CheckForBufferLeaks 785238
ScheduleBufferTagForWriteback 945334
FlushBuffer 953020
LimitAdditionalPins 1122328
StartReadBuffers 2132618
InvalidateVictimBuffer 2195118
WaitReadBuffers 2248962
ConditionalLockBuffer 2398618
WaitReadBuffersCanStartIO 2487384
RelationGetNumberOfBlocksInFork 3094400
SyncOneBuffer 3327116
GetVictimBuffer 3370820
CheckBufferIsPinnedOnce 3418326
PinBuffer_Locked 3898900
GetPrivateRefCount 3933796
TerminateBufferIO 4323296
StartBufferIO 4326128
ckpt_buforder_comparator 5143910
ReadBufferWithoutRelcache 10948158
BufferGetLSNAtomic 15511590
rlocator_comparator 18430012
BufferIsPermanent 18471108
MarkBufferDirtyHint 19326898
IncrBufferRefCount 19714232
BufferGetTag 28635580
UnlockReleaseBuffer 34852912
MarkBufferDirty 41023346
ReleaseAndReadBuffer 50550690
LockBufHdr 63850672
ReadBuffer 76640260
BufferGetBlockNumber 87721450
ReadBufferExtended 92826018
ReadBuffer_common 103774194
ForgetPrivateRefCountEntry 104020562
NewPrivateRefCountEntry 104020562
PinBuffer 104426172
StartReadBuffer 106581136
BufferAlloc 107381978
StartReadBuffersImpl 108713754
PinBufferForBlock 109506268
ReleaseBuffer 109914304
ReservePrivateRefCountEntry 114527676
UnpinBuffer 127333460
UnpinBufferNoOwner 127341614
GetPrivateRefCountEntry 254718124
LockBuffer 313315726

Generated by: LCOV version 1.14