LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.8 %
1276
1120
Test Date:
2026-11-13 15:16:55
Functions:
95.2 %
62
59
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.4 %
912
596
Function Name
Hit count
AbortStrongLockAcquire
713228
AtPrepare_Locks
323
BeginStrongLockAcquire
249732
CheckAndSetLockHeld
50161440
CheckForSessionAndXactLocks
323
CleanUpLock
3003063
DoLockModesConflict
39042
FastPathGetRelationLockEntry
349
FastPathGrantRelationLock
21679799
FastPathTransferRelationLocks
249732
FastPathUnGrantRelationLock
21798965
FinishStrongLockAcquire
3050230
GetAnyGrantedHeavyweightLock
46
GetAwaitedLock
712477
GetBlockerStatusData
1853
GetLockConflicts
1709
GetLockStatusData
490
GetLockTagsMethodTable
1296
GetLockmodeName
11798
GetLocksMethodTable
108
GetRunningTransactionLocks
1617
GetSingleProcBlockerStatusData
1976
GrantAwaitedLock
0
GrantLock
3052539
GrantLockLocal
28722019
InitLockManagerAccess
26890
LockAcquire
1230194
LockAcquireExtended
28722826
LockCheckConflicts
3052531
LockHasWaiters
0
LockHeldByMe
1988096
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466783
LockReassignOwner
814569
LockRefindAndRelease
2783
LockRelease
24322377
LockReleaseAll
1360299
LockReleaseCurrentOwner
6655
LockReleaseSession
122
LockTagHashCode
25591173
LockWaiterCount
96227
MarkLockClear
23727647
PostPrepare_Locks
321
ProcLockHashCode
5830334
ReleaseLockIfHeld
5646
RemoveFromWaitQueue
48
RemoveLocalLock
24730836
ResetAwaitedLock
43
SetupLockInTable
3053245
UnGrantLock
3052455
VirtualXactLock
357
VirtualXactLockTableCleanup
669569
VirtualXactLockTableInsert
668930
WaitOnLock
1511
XactLockForVirtualXact
315
lock_twophase_postabort
194
lock_twophase_postcommit
934
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
841
waitonlock_error_callback
223
Generated by:
LCOV version 2.0-1