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-14 16:16:12
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
697942
AtPrepare_Locks
346
BeginStrongLockAcquire
249883
CheckAndSetLockHeld
49856096
CheckForSessionAndXactLocks
346
CleanUpLock
2989371
DoLockModesConflict
39042
FastPathGetRelationLockEntry
369
FastPathGrantRelationLock
21545807
FastPathTransferRelationLocks
249883
FastPathUnGrantRelationLock
21662750
FinishStrongLockAcquire
3036536
GetAnyGrantedHeavyweightLock
41
GetAwaitedLock
697227
GetBlockerStatusData
1726
GetLockConflicts
1781
GetLockStatusData
330
GetLockTagsMethodTable
1298
GetLockmodeName
9894
GetLocksMethodTable
112
GetRunningTransactionLocks
1617
GetSingleProcBlockerStatusData
1849
GrantAwaitedLock
1
GrantLock
3038849
GrantLockLocal
28567236
InitLockManagerAccess
26636
LockAcquire
1216645
LockAcquireExtended
28568009
LockCheckConflicts
3038837
LockHasWaiters
0
LockHeldByMe
1988613
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466598
LockReassignOwner
814502
LockRefindAndRelease
2804
LockRelease
24186087
LockReleaseAll
1329543
LockReleaseCurrentOwner
6658
LockReleaseSession
122
LockTagHashCode
25442477
LockWaiterCount
96508
MarkLockClear
23586024
PostPrepare_Locks
344
ProcLockHashCode
5802472
ReleaseLockIfHeld
5638
RemoveFromWaitQueue
50
RemoveLocalLock
24583117
ResetAwaitedLock
46
SetupLockInTable
3039521
UnGrantLock
3038754
VirtualXactLock
354
VirtualXactLockTableCleanup
654330
VirtualXactLockTableInsert
653671
WaitOnLock
1526
XactLockForVirtualXact
312
lock_twophase_postabort
196
lock_twophase_postcommit
970
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
887
waitonlock_error_callback
234
Generated by:
LCOV version 2.0-1