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-09 02:16:00
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
689228
AtPrepare_Locks
318
BeginStrongLockAcquire
240558
CheckAndSetLockHeld
48676640
CheckForSessionAndXactLocks
318
CleanUpLock
2906003
DoLockModesConflict
39042
FastPathGetRelationLockEntry
342
FastPathGrantRelationLock
21045961
FastPathTransferRelationLocks
240558
FastPathUnGrantRelationLock
21160725
FinishStrongLockAcquire
2951463
GetAnyGrantedHeavyweightLock
45
GetAwaitedLock
688491
GetBlockerStatusData
1770
GetLockConflicts
1704
GetLockStatusData
338
GetLockTagsMethodTable
1271
GetLockmodeName
11435
GetLocksMethodTable
114
GetRunningTransactionLocks
1613
GetSingleProcBlockerStatusData
1913
GrantAwaitedLock
1
GrantLock
2953748
GrantLockLocal
27891826
InitLockManagerAccess
26231
LockAcquire
1184014
LockAcquireExtended
27892619
LockCheckConflicts
2953747
LockHasWaiters
0
LockHeldByMe
1926218
LockManagerShmemInit
1335
LockManagerShmemRequest
1339
LockReassignCurrentOwner
455592
LockReassignOwner
787400
LockRefindAndRelease
2736
LockRelease
23591845
LockReleaseAll
1314034
LockReleaseCurrentOwner
6534
LockReleaseSession
122
LockTagHashCode
24824326
LockWaiterCount
95595
MarkLockClear
23030420
PostPrepare_Locks
316
ProcLockHashCode
5636592
ReleaseLockIfHeld
5568
RemoveFromWaitQueue
47
RemoveLocalLock
23998218
ResetAwaitedLock
43
SetupLockInTable
2954440
UnGrantLock
2953667
VirtualXactLock
390
VirtualXactLockTableCleanup
646720
VirtualXactLockTableInsert
646119
WaitOnLock
1519
XactLockForVirtualXact
349
lock_twophase_postabort
188
lock_twophase_postcommit
898
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
795
waitonlock_error_callback
233
Generated by:
LCOV version 2.0-1