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-12-05 06:16:26
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.0 %
912
593
Function Name
Hit count
AbortStrongLockAcquire
705201
AtPrepare_Locks
336
BeginStrongLockAcquire
251709
CheckAndSetLockHeld
50317287
CheckForSessionAndXactLocks
336
CleanUpLock
3015619
DoLockModesConflict
39045
FastPathGetRelationLockEntry
364
FastPathGrantRelationLock
21749989
FastPathTransferRelationLocks
251709
FastPathUnGrantRelationLock
21865617
FinishStrongLockAcquire
3062499
GetAnyGrantedHeavyweightLock
43
GetAwaitedLock
704502
GetBlockerStatusData
2034
GetLockConflicts
1929
GetLockStatusData
341
GetLockTagsMethodTable
1303
GetLockmodeName
11427
GetLocksMethodTable
110
GetRunningTransactionLocks
1642
GetSingleProcBlockerStatusData
2169
GrantAwaitedLock
1
GrantLock
3064783
GrantLockLocal
28810971
InitLockManagerAccess
27067
LockAcquire
1227391
LockAcquireExtended
28811726
LockCheckConflicts
3064734
LockHasWaiters
0
LockHeldByMe
2003983
LockManagerShmemInit
1362
LockManagerShmemRequest
1366
LockReassignCurrentOwner
470151
LockReassignOwner
818214
LockRefindAndRelease
2783
LockRelease
24407242
LockReleaseAll
1343004
LockReleaseCurrentOwner
6663
LockReleaseSession
122
LockTagHashCode
25680143
LockWaiterCount
98463
MarkLockClear
23807000
PostPrepare_Locks
334
ProcLockHashCode
5850170
ReleaseLockIfHeld
5661
RemoveFromWaitQueue
47
RemoveLocalLock
24813244
ResetAwaitedLock
43
SetupLockInTable
3065437
UnGrantLock
3064699
VirtualXactLock
312
VirtualXactLockTableCleanup
660889
VirtualXactLockTableInsert
660192
WaitOnLock
1471
XactLockForVirtualXact
271
lock_twophase_postabort
194
lock_twophase_postcommit
973
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
873
waitonlock_error_callback
224
Generated by:
LCOV version 2.0-1