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-28 01: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
705902
AtPrepare_Locks
359
BeginStrongLockAcquire
251619
CheckAndSetLockHeld
50371427
CheckForSessionAndXactLocks
359
CleanUpLock
3005654
DoLockModesConflict
39046
FastPathGetRelationLockEntry
387
FastPathGrantRelationLock
21785545
FastPathTransferRelationLocks
251619
FastPathUnGrantRelationLock
21898273
FinishStrongLockAcquire
3053028
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
705177
GetBlockerStatusData
1859
GetLockConflicts
1745
GetLockStatusData
304
GetLockTagsMethodTable
1303
GetLockmodeName
10313
GetLocksMethodTable
111
GetRunningTransactionLocks
1632
GetSingleProcBlockerStatusData
1991
GrantAwaitedLock
2
GrantLock
3055377
GrantLockLocal
28841729
InitLockManagerAccess
26921
LockAcquire
1228915
LockAcquireExtended
28842511
LockCheckConflicts
3055345
LockHasWaiters
0
LockHeldByMe
2001759
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469314
LockReassignOwner
818600
LockRefindAndRelease
2862
LockRelease
24432775
LockReleaseAll
1344334
LockReleaseCurrentOwner
6665
LockReleaseSession
122
LockTagHashCode
25705791
LockWaiterCount
98505
MarkLockClear
23832249
PostPrepare_Locks
357
ProcLockHashCode
5832708
ReleaseLockIfHeld
5649
RemoveFromWaitQueue
49
RemoveLocalLock
24839357
ResetAwaitedLock
46
SetupLockInTable
3056058
UnGrantLock
3055292
VirtualXactLock
367
VirtualXactLockTableCleanup
661629
VirtualXactLockTableInsert
660913
WaitOnLock
1561
XactLockForVirtualXact
325
lock_twophase_postabort
196
lock_twophase_postcommit
1008
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
911
waitonlock_error_callback
228
Generated by:
LCOV version 2.0-1