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-23 00:16:12
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
713052
AtPrepare_Locks
341
BeginStrongLockAcquire
250866
CheckAndSetLockHeld
50363971
CheckForSessionAndXactLocks
341
CleanUpLock
3000476
DoLockModesConflict
39046
FastPathGetRelationLockEntry
366
FastPathGrantRelationLock
21784810
FastPathTransferRelationLocks
250866
FastPathUnGrantRelationLock
21893733
FinishStrongLockAcquire
3047816
GetAnyGrantedHeavyweightLock
43
GetAwaitedLock
712354
GetBlockerStatusData
1852
GetLockConflicts
1885
GetLockStatusData
333
GetLockTagsMethodTable
1302
GetLockmodeName
9585
GetLocksMethodTable
108
GetRunningTransactionLocks
1620
GetSingleProcBlockerStatusData
1975
GrantAwaitedLock
1
GrantLock
3050172
GrantLockLocal
28837303
InitLockManagerAccess
26908
LockAcquire
1236013
LockAcquireExtended
28838055
LockCheckConflicts
3050077
LockHasWaiters
0
LockHeldByMe
1998708
LockManagerShmemInit
1358
LockManagerShmemRequest
1362
LockReassignCurrentOwner
469199
LockReassignOwner
817371
LockRefindAndRelease
2837
LockRelease
24423444
LockReleaseAll
1359687
LockReleaseCurrentOwner
6663
LockReleaseSession
122
LockTagHashCode
25699375
LockWaiterCount
98224
MarkLockClear
23823727
PostPrepare_Locks
339
ProcLockHashCode
5822217
ReleaseLockIfHeld
5666
RemoveFromWaitQueue
46
RemoveLocalLock
24833379
ResetAwaitedLock
42
SetupLockInTable
3050823
UnGrantLock
3050071
VirtualXactLock
402
VirtualXactLockTableCleanup
669297
VirtualXactLockTableInsert
668608
WaitOnLock
1536
XactLockForVirtualXact
360
lock_twophase_postabort
194
lock_twophase_postcommit
955
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
876
waitonlock_error_callback
221
Generated by:
LCOV version 2.0-1