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-24 00:16:20
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
704338
AtPrepare_Locks
324
BeginStrongLockAcquire
251116
CheckAndSetLockHeld
50239306
CheckForSessionAndXactLocks
324
CleanUpLock
3002651
DoLockModesConflict
39046
FastPathGetRelationLockEntry
347
FastPathGrantRelationLock
21722145
FastPathTransferRelationLocks
251116
FastPathUnGrantRelationLock
21831856
FinishStrongLockAcquire
3050052
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
703599
GetBlockerStatusData
1867
GetLockConflicts
1777
GetLockStatusData
337
GetLockTagsMethodTable
1301
GetLockmodeName
10546
GetLocksMethodTable
113
GetRunningTransactionLocks
1625
GetSingleProcBlockerStatusData
2010
GrantAwaitedLock
1
GrantLock
3052344
GrantLockLocal
28774271
InitLockManagerAccess
26688
LockAcquire
1227600
LockAcquireExtended
28775065
LockCheckConflicts
3052377
LockHasWaiters
0
LockHeldByMe
2000086
LockManagerShmemInit
1358
LockManagerShmemRequest
1362
LockReassignCurrentOwner
469401
LockReassignOwner
817793
LockRefindAndRelease
2776
LockRelease
24368592
LockReleaseAll
1342184
LockReleaseCurrentOwner
6663
LockReleaseSession
122
LockTagHashCode
25637423
LockWaiterCount
98138
MarkLockClear
23767447
PostPrepare_Locks
322
ProcLockHashCode
5827120
ReleaseLockIfHeld
5655
RemoveFromWaitQueue
48
RemoveLocalLock
24772992
ResetAwaitedLock
44
SetupLockInTable
3053038
UnGrantLock
3052248
VirtualXactLock
354
VirtualXactLockTableCleanup
660643
VirtualXactLockTableInsert
659958
WaitOnLock
1545
XactLockForVirtualXact
312
lock_twophase_postabort
196
lock_twophase_postcommit
936
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
845
waitonlock_error_callback
231
Generated by:
LCOV version 2.0-1