LCOV - code coverage report
Current view:
top level
-
src/backend/storage/buffer
- bufmgr.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
1344
1532
87.7 %
Date:
2025-01-18 08:15:45
Functions:
86
94
91.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AbortBufferIO
30
AtEOXact_Buffers
789140
AtProcExit_Buffers
37258
BgBufferSync
18046
BufferAlloc
108671380
BufferGetBlockNumber
88681396
BufferGetLSNAtomic
15870066
BufferGetTag
28508606
BufferIsDirty
0
BufferIsExclusiveLocked
0
BufferIsPermanent
18543026
BufferSync
2476
CheckBufferIsPinnedOnce
3457108
CheckForBufferLeaks
826398
CheckPointBuffers
2476
ConditionalLockBuffer
2712076
ConditionalLockBufferForCleanup
823102
CreateAndCopyRelationData
98144
DebugPrintBufferRefcount
0
DropDatabaseBuffers
112
DropRelationBuffers
1218
DropRelationsAllBuffers
25592
EvictUnpinnedBuffer
0
ExtendBufferedRel
89476
ExtendBufferedRelBy
288030
ExtendBufferedRelCommon
389334
ExtendBufferedRelShared
371656
ExtendBufferedRelTo
97334
FindAndDropRelationBuffers
1586
FlushBuffer
959460
FlushDatabaseBuffers
8
FlushOneBuffer
58
FlushRelationBuffers
276
FlushRelationsAllBuffers
18
ForgetPrivateRefCountEntry
105464580
GetPrivateRefCount
4291922
GetPrivateRefCountEntry
258403216
GetVictimBuffer
3408544
HoldingBufferPinThatDelaysRecovery
8
IncrBufferRefCount
20105444
InitBufferManagerAccess
37258
InvalidateBuffer
197744
InvalidateVictimBuffer
2222752
IsBufferCleanupOK
4072
IssuePendingWritebacks
1880
LimitAdditionalPins
1138764
LockBufHdr
64911444
LockBuffer
315727094
LockBufferForCleanup
37032
MarkBufferDirty
40677358
MarkBufferDirtyHint
19410442
NewPrivateRefCountEntry
105464580
PinBuffer
105675540
PinBufferForBlock
110796186
PinBuffer_Locked
3945234
PrefetchBuffer
389930
PrefetchSharedBuffer
405508
ReadBuffer
77306130
ReadBufferExtended
94140830
ReadBufferWithoutRelcache
10967570
ReadBuffer_common
105108410
ReadRecentBuffer
9240
RelationCopyStorageUsingBuffer
130560
RelationGetNumberOfBlocksInFork
3135764
ReleaseAndReadBuffer
51209384
ReleaseBuffer
111392484
ResOwnerPrintBufferIO
0
ResOwnerPrintBufferPin
0
ResOwnerReleaseBufferIO
30
ResOwnerReleaseBufferPin
9048
ReservePrivateRefCountEntry
115874226
ScheduleBufferTagForWriteback
952214
StartBufferIO
4370360
StartReadBuffer
107822666
StartReadBuffers
2173290
StartReadBuffersImpl
109995956
SyncOneBuffer
3349452
TerminateBufferIO
4367456
UnlockBuffers
93646
UnlockReleaseBuffer
35419770
UnpinBuffer
129019982
UnpinBufferNoOwner
129028264
WaitBufHdrUnlocked
3644
WaitIO
2192
WaitReadBuffers
2281182
WaitReadBuffersCanStartIO
2521922
WritebackContextInit
4692
ZeroAndLockBuffer
557556
buffertag_comparator
0
ckpt_buforder_comparator
5283000
local_buffer_write_error_callback
0
rlocator_comparator
18428870
shared_buffer_write_error_callback
82
ts_ckpt_progress_comparator
410584
Generated by:
LCOV version 1.14