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-06 07:15:50
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.1 %
912
594
Function Name
Hit count
AbortStrongLockAcquire
700636
AtPrepare_Locks
316
BeginStrongLockAcquire
241184
CheckAndSetLockHeld
49002406
CheckForSessionAndXactLocks
316
CleanUpLock
2910359
DoLockModesConflict
39042
FastPathGetRelationLockEntry
342
FastPathGrantRelationLock
21201651
FastPathTransferRelationLocks
241184
FastPathUnGrantRelationLock
21306413
FinishStrongLockAcquire
2955866
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
699895
GetBlockerStatusData
1853
GetLockConflicts
1804
GetLockStatusData
347
GetLockTagsMethodTable
1271
GetLockmodeName
10536
GetLocksMethodTable
109
GetRunningTransactionLocks
1608
GetSingleProcBlockerStatusData
1997
GrantAwaitedLock
1
GrantLock
2958138
GrantLockLocal
28062007
InitLockManagerAccess
26348
LockAcquire
1196066
LockAcquireExtended
28062804
LockCheckConflicts
2958145
LockHasWaiters
0
LockHeldByMe
1928107
LockManagerShmemInit
1335
LockManagerShmemRequest
1339
LockReassignCurrentOwner
455784
LockReassignOwner
787306
LockRefindAndRelease
2709
LockRelease
23743343
LockReleaseAll
1336490
LockReleaseCurrentOwner
6529
LockReleaseSession
122
LockTagHashCode
24987468
LockWaiterCount
95518
MarkLockClear
23183812
PostPrepare_Locks
314
ProcLockHashCode
5644943
ReleaseLockIfHeld
5564
RemoveFromWaitQueue
48
RemoveLocalLock
24158315
ResetAwaitedLock
44
SetupLockInTable
2958835
UnGrantLock
2958058
VirtualXactLock
367
VirtualXactLockTableCleanup
657900
VirtualXactLockTableInsert
657299
WaitOnLock
1508
XactLockForVirtualXact
326
lock_twophase_postabort
188
lock_twophase_postcommit
885
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
789
waitonlock_error_callback
228
Generated by:
LCOV version 2.0-1