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
1121
Test Date:
2026-11-30 03:16:08
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.0 %
912
593
Function Name
Hit count
AbortStrongLockAcquire
710992
AtPrepare_Locks
327
BeginStrongLockAcquire
251728
CheckAndSetLockHeld
50470174
CheckForSessionAndXactLocks
327
CleanUpLock
3012657
DoLockModesConflict
39045
FastPathGetRelationLockEntry
353
FastPathGrantRelationLock
21826064
FastPathTransferRelationLocks
251728
FastPathUnGrantRelationLock
21940288
FinishStrongLockAcquire
3060083
GetAnyGrantedHeavyweightLock
46
GetAwaitedLock
710253
GetBlockerStatusData
1901
GetLockConflicts
1761
GetLockStatusData
302
GetLockTagsMethodTable
1305
GetLockmodeName
10889
GetLocksMethodTable
111
GetRunningTransactionLocks
1628
GetSingleProcBlockerStatusData
2044
GrantAwaitedLock
1
GrantLock
3062406
GrantLockLocal
28892700
InitLockManagerAccess
26864
LockAcquire
1234468
LockAcquireExtended
28893498
LockCheckConflicts
3062352
LockHasWaiters
0
LockHeldByMe
2002477
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469897
LockReassignOwner
819117
LockRefindAndRelease
2806
LockRelease
24477550
LockReleaseAll
1354571
LockReleaseCurrentOwner
6667
LockReleaseSession
122
LockTagHashCode
25754665
LockWaiterCount
98706
MarkLockClear
23876907
PostPrepare_Locks
325
ProcLockHashCode
5844490
ReleaseLockIfHeld
5667
RemoveFromWaitQueue
51
RemoveLocalLock
24886946
ResetAwaitedLock
47
SetupLockInTable
3063102
UnGrantLock
3062324
VirtualXactLock
355
VirtualXactLockTableCleanup
666774
VirtualXactLockTableInsert
666074
WaitOnLock
1496
XactLockForVirtualXact
313
lock_twophase_postabort
196
lock_twophase_postcommit
947
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
849
waitonlock_error_callback
230
Generated by:
LCOV version 2.0-1