LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.7 %
1276
1119
Test Date:
2026-11-25 01:16:13
Functions:
95.2 %
62
59
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
709924
AtPrepare_Locks
324
BeginStrongLockAcquire
251454
CheckAndSetLockHeld
50417380
CheckForSessionAndXactLocks
324
CleanUpLock
3003316
DoLockModesConflict
39045
FastPathGetRelationLockEntry
352
FastPathGrantRelationLock
21809448
FastPathTransferRelationLocks
251454
FastPathUnGrantRelationLock
21923793
FinishStrongLockAcquire
3050724
GetAnyGrantedHeavyweightLock
45
GetAwaitedLock
709158
GetBlockerStatusData
1847
GetLockConflicts
1709
GetLockStatusData
336
GetLockTagsMethodTable
1305
GetLockmodeName
10777
GetLocksMethodTable
113
GetRunningTransactionLocks
1631
GetSingleProcBlockerStatusData
2007
GrantAwaitedLock
0
GrantLock
3053050
GrantLockLocal
28865753
InitLockManagerAccess
26876
LockAcquire
1233112
LockAcquireExtended
28866578
LockCheckConflicts
3053055
LockHasWaiters
0
LockHeldByMe
2001094
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469741
LockReassignOwner
818292
LockRefindAndRelease
2811
LockRelease
24452932
LockReleaseAll
1352999
LockReleaseCurrentOwner
6667
LockReleaseSession
122
LockTagHashCode
25727401
LockWaiterCount
98364
MarkLockClear
23852214
PostPrepare_Locks
322
ProcLockHashCode
5828074
ReleaseLockIfHeld
5661
RemoveFromWaitQueue
51
RemoveLocalLock
24860997
ResetAwaitedLock
46
SetupLockInTable
3053774
UnGrantLock
3052968
VirtualXactLock
366
VirtualXactLockTableCleanup
665965
VirtualXactLockTableInsert
665269
WaitOnLock
1522
XactLockForVirtualXact
324
lock_twophase_postabort
196
lock_twophase_postcommit
941
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
839
waitonlock_error_callback
233
Generated by:
LCOV version 2.0-1