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-18 20:16:14
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.7 %
912
599
Function Name
Hit count
AbortStrongLockAcquire
713521
AtPrepare_Locks
344
BeginStrongLockAcquire
250264
CheckAndSetLockHeld
50102691
CheckForSessionAndXactLocks
344
CleanUpLock
3000185
DoLockModesConflict
39041
FastPathGetRelationLockEntry
365
FastPathGrantRelationLock
21654135
FastPathTransferRelationLocks
250264
FastPathUnGrantRelationLock
21768136
FinishStrongLockAcquire
3047356
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
712784
GetBlockerStatusData
1843
GetLockConflicts
1785
GetLockStatusData
306
GetLockTagsMethodTable
1298
GetLockmodeName
10577
GetLocksMethodTable
111
GetRunningTransactionLocks
1626
GetSingleProcBlockerStatusData
1993
GrantAwaitedLock
1
GrantLock
3049699
GrantLockLocal
28699351
InitLockManagerAccess
26692
LockAcquire
1232571
LockAcquireExtended
28700148
LockCheckConflicts
3049695
LockHasWaiters
0
LockHeldByMe
1989720
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
468302
LockReassignOwner
815429
LockRefindAndRelease
2852
LockRelease
24295598
LockReleaseAll
1360642
LockReleaseCurrentOwner
6651
LockReleaseSession
122
LockTagHashCode
25564495
LockWaiterCount
96806
MarkLockClear
23696317
PostPrepare_Locks
342
ProcLockHashCode
5823418
ReleaseLockIfHeld
5642
RemoveFromWaitQueue
51
RemoveLocalLock
24702289
ResetAwaitedLock
47
SetupLockInTable
3050395
UnGrantLock
3049602
VirtualXactLock
398
VirtualXactLockTableCleanup
669869
VirtualXactLockTableInsert
669178
WaitOnLock
1553
XactLockForVirtualXact
355
lock_twophase_postabort
196
lock_twophase_postcommit
984
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
893
waitonlock_error_callback
233
Generated by:
LCOV version 2.0-1