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-12-06 06:17:07
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
716303
AtPrepare_Locks
323
BeginStrongLockAcquire
251844
CheckAndSetLockHeld
50546470
CheckForSessionAndXactLocks
323
CleanUpLock
3024599
DoLockModesConflict
39045
FastPathGetRelationLockEntry
350
FastPathGrantRelationLock
21852290
FastPathTransferRelationLocks
251844
FastPathUnGrantRelationLock
21960979
FinishStrongLockAcquire
3071443
GetAnyGrantedHeavyweightLock
43
GetAwaitedLock
715562
GetBlockerStatusData
1928
GetLockConflicts
1773
GetLockStatusData
370
GetLockTagsMethodTable
1302
GetLockmodeName
10562
GetLocksMethodTable
107
GetRunningTransactionLocks
1643
GetSingleProcBlockerStatusData
2095
GrantAwaitedLock
1
GrantLock
3073767
GrantLockLocal
28929565
InitLockManagerAccess
27188
LockAcquire
1239994
LockAcquireExtended
28930363
LockCheckConflicts
3073746
LockHasWaiters
0
LockHeldByMe
2003802
LockManagerShmemInit
1362
LockManagerShmemRequest
1366
LockReassignCurrentOwner
470464
LockReassignOwner
818869
LockRefindAndRelease
2796
LockRelease
24508913
LockReleaseAll
1366582
LockReleaseCurrentOwner
6665
LockReleaseSession
122
LockTagHashCode
25793204
LockWaiterCount
98369
MarkLockClear
23911644
PostPrepare_Locks
321
ProcLockHashCode
5869250
ReleaseLockIfHeld
5657
RemoveFromWaitQueue
48
RemoveLocalLock
24924532
ResetAwaitedLock
44
SetupLockInTable
3074464
UnGrantLock
3073673
VirtualXactLock
387
VirtualXactLockTableCleanup
672615
VirtualXactLockTableInsert
671912
WaitOnLock
1534
XactLockForVirtualXact
345
lock_twophase_postabort
196
lock_twophase_postcommit
929
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
842
waitonlock_error_callback
224
Generated by:
LCOV version 2.0-1