LCOV - code coverage report
Current view: top level - src/backend/storage/lmgr - lock.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1107 1258 88.0 %
Date: 2025-01-18 10:15:04 Functions: 56 59 94.9 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AbortStrongLockAcquire 856716
AtPrepare_Locks 774
BeginStrongLockAcquire 350272
CheckAndSetLockHeld 64588608
CheckForSessionAndXactLocks 774
CleanUpLock 3991322
DoLockModesConflict 488
FastPathGetRelationLockEntry 788
FastPathGrantRelationLock 27769348
FastPathTransferRelationLocks 350272
FastPathUnGrantRelationLock 28070208
FinishStrongLockAcquire 4054308
GetAwaitedLock 855456
GetBlockerStatusData 3268
GetLockConflicts 2592
GetLockStatusData 504
GetLockTagsMethodTable 2254
GetLockmodeName 11826
GetLocksMethodTable 198
GetRunningTransactionLocks 1930
GetSingleProcBlockerStatusData 3384
GrantAwaitedLock 4
GrantLock 4057886
GrantLockLocal 35426136
InitLockManagerAccess 34556
LockAcquire 1450192
LockAcquireExtended 35427500
LockCheckConflicts 4058194
LockHasWaiters 0
LockHeldByMe 0
LockManagerShmemInit 1918
LockManagerShmemSize 3566
LockReassignCurrentOwner 647374
LockReassignOwner 918218
LockRefindAndRelease 4370
LockRelease 31466760
LockReleaseAll 1626644
LockReleaseCurrentOwner 9536
LockReleaseSession 238
LockTagHashCode 32861160
LockWaiterCount 119784
MarkLockClear 30642518
PostPrepare_Locks 770
ProcLockHashCode 7733664
ReleaseLockIfHeld 5784
RemoveFromWaitQueue 90
RemoveLocalLock 31825024
SetupLockInTable 4059050
UnGrantLock 4057690
VirtualXactLock 626
VirtualXactLockTableCleanup 798892
VirtualXactLockTableInsert 798102
WaitOnLock 2560
XactLockForVirtualXact 546
lock_twophase_postabort 248
lock_twophase_postcommit 1794
lock_twophase_recover 176
lock_twophase_standby_recover 0
proclock_hash 1696

Generated by: LCOV version 1.14