LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.9 %
1276
1122
Test Date:
2026-11-20 22:16:09
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.4 %
912
596
Function Name
Hit count
AbortStrongLockAcquire
700966
AtPrepare_Locks
347
BeginStrongLockAcquire
250941
CheckAndSetLockHeld
50136223
CheckForSessionAndXactLocks
347
CleanUpLock
2988068
DoLockModesConflict
39045
FastPathGetRelationLockEntry
368
FastPathGrantRelationLock
21685784
FastPathTransferRelationLocks
250941
FastPathUnGrantRelationLock
21795553
FinishStrongLockAcquire
3035316
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
700238
GetBlockerStatusData
1939
GetLockConflicts
1757
GetLockStatusData
303
GetLockTagsMethodTable
1300
GetLockmodeName
11417
GetLocksMethodTable
107
GetRunningTransactionLocks
1624
GetSingleProcBlockerStatusData
2109
GrantAwaitedLock
1
GrantLock
3037681
GrantLockLocal
28721742
InitLockManagerAccess
26674
LockAcquire
1223532
LockAcquireExtended
28722525
LockCheckConflicts
3037688
LockHasWaiters
0
LockHeldByMe
1998118
LockManagerShmemInit
1358
LockManagerShmemRequest
1362
LockReassignCurrentOwner
469425
LockReassignOwner
817761
LockRefindAndRelease
2884
LockRelease
24319705
LockReleaseAll
1335630
LockReleaseCurrentOwner
6662
LockReleaseSession
122
LockTagHashCode
25585581
LockWaiterCount
98110
MarkLockClear
23718715
PostPrepare_Locks
345
ProcLockHashCode
5797309
ReleaseLockIfHeld
5654
RemoveFromWaitQueue
47
RemoveLocalLock
24721884
ResetAwaitedLock
43
SetupLockInTable
3038363
UnGrantLock
3037589
VirtualXactLock
430
VirtualXactLockTableCleanup
657369
VirtualXactLockTableInsert
656697
WaitOnLock
1608
XactLockForVirtualXact
388
lock_twophase_postabort
194
lock_twophase_postcommit
995
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
897
waitonlock_error_callback
220
Generated by:
LCOV version 2.0-1