LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
88.0 %
1276
1123
Test Date:
2026-11-12 15:19:05
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.6 %
912
598
Function Name
Hit count
AbortStrongLockAcquire
719672
AtPrepare_Locks
336
BeginStrongLockAcquire
250003
CheckAndSetLockHeld
50228709
CheckForSessionAndXactLocks
336
CleanUpLock
3006535
DoLockModesConflict
39041
FastPathGetRelationLockEntry
359
FastPathGrantRelationLock
21709291
FastPathTransferRelationLocks
250003
FastPathUnGrantRelationLock
21816856
FinishStrongLockAcquire
3053680
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
718937
GetBlockerStatusData
1867
GetLockConflicts
1873
GetLockStatusData
301
GetLockTagsMethodTable
1300
GetLockmodeName
10009
GetLocksMethodTable
116
GetRunningTransactionLocks
1628
GetSingleProcBlockerStatusData
2020
GrantAwaitedLock
2
GrantLock
3055993
GrantLockLocal
28764362
InitLockManagerAccess
26914
LockAcquire
1237198
LockAcquireExtended
28765155
LockCheckConflicts
3056011
LockHasWaiters
0
LockHeldByMe
1988056
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466643
LockReassignOwner
814325
LockRefindAndRelease
2800
LockRelease
24351814
LockReleaseAll
1372742
LockReleaseCurrentOwner
6657
LockReleaseSession
122
LockTagHashCode
25625713
LockWaiterCount
96131
MarkLockClear
23756131
PostPrepare_Locks
334
ProcLockHashCode
5837503
ReleaseLockIfHeld
5644
RemoveFromWaitQueue
51
RemoveLocalLock
24763766
ResetAwaitedLock
47
SetupLockInTable
3056686
UnGrantLock
3055892
VirtualXactLock
360
VirtualXactLockTableCleanup
675830
VirtualXactLockTableInsert
675117
WaitOnLock
1563
XactLockForVirtualXact
318
lock_twophase_postabort
196
lock_twophase_postcommit
955
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
872
waitonlock_error_callback
231
Generated by:
LCOV version 2.0-1