LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
88.0 %
1276
1123
Test Date:
2026-12-03 04:16:09
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.7 %
912
599
Function Name
Hit count
AbortStrongLockAcquire
713748
AtPrepare_Locks
332
BeginStrongLockAcquire
251632
CheckAndSetLockHeld
50391531
CheckForSessionAndXactLocks
332
CleanUpLock
3011440
DoLockModesConflict
39046
FastPathGetRelationLockEntry
360
FastPathGrantRelationLock
21788843
FastPathTransferRelationLocks
251632
FastPathUnGrantRelationLock
21898562
FinishStrongLockAcquire
3058285
GetAnyGrantedHeavyweightLock
40
GetAwaitedLock
713027
GetBlockerStatusData
1919
GetLockConflicts
1837
GetLockStatusData
305
GetLockTagsMethodTable
1304
GetLockmodeName
10428
GetLocksMethodTable
107
GetRunningTransactionLocks
1640
GetSingleProcBlockerStatusData
2076
GrantAwaitedLock
2
GrantLock
3060616
GrantLockLocal
28849781
InitLockManagerAccess
26948
LockAcquire
1236913
LockAcquireExtended
28850562
LockCheckConflicts
3060559
LockHasWaiters
0
LockHeldByMe
2003596
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
470135
LockReassignOwner
818001
LockRefindAndRelease
2817
LockRelease
24434911
LockReleaseAll
1360554
LockReleaseCurrentOwner
6663
LockReleaseSession
122
LockTagHashCode
25715843
LockWaiterCount
98358
MarkLockClear
23836730
PostPrepare_Locks
330
ProcLockHashCode
5843692
ReleaseLockIfHeld
5655
RemoveFromWaitQueue
51
RemoveLocalLock
24847911
ResetAwaitedLock
48
SetupLockInTable
3061296
UnGrantLock
3060534
VirtualXactLock
377
VirtualXactLockTableCleanup
669729
VirtualXactLockTableInsert
669011
WaitOnLock
1525
XactLockForVirtualXact
335
lock_twophase_postabort
196
lock_twophase_postcommit
957
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
860
waitonlock_error_callback
227
Generated by:
LCOV version 2.0-1