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-12-04 05:16:31
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
711445
AtPrepare_Locks
312
BeginStrongLockAcquire
251722
CheckAndSetLockHeld
50422859
CheckForSessionAndXactLocks
312
CleanUpLock
3008249
DoLockModesConflict
39045
FastPathGetRelationLockEntry
340
FastPathGrantRelationLock
21808484
FastPathTransferRelationLocks
251722
FastPathUnGrantRelationLock
21919021
FinishStrongLockAcquire
3055112
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
710716
GetBlockerStatusData
1912
GetLockConflicts
1915
GetLockStatusData
309
GetLockTagsMethodTable
1303
GetLockmodeName
11315
GetLocksMethodTable
110
GetRunningTransactionLocks
1633
GetSingleProcBlockerStatusData
2051
GrantAwaitedLock
1
GrantLock
3057388
GrantLockLocal
28866681
InitLockManagerAccess
26919
LockAcquire
1234042
LockAcquireExtended
28867468
LockCheckConflicts
3057345
LockHasWaiters
0
LockHeldByMe
2003915
LockManagerShmemInit
1362
LockManagerShmemRequest
1366
LockReassignCurrentOwner
470300
LockReassignOwner
818374
LockRefindAndRelease
2746
LockRelease
24451918
LockReleaseAll
1355032
LockReleaseCurrentOwner
6668
LockReleaseSession
122
LockTagHashCode
25731665
LockWaiterCount
98655
MarkLockClear
23854933
PostPrepare_Locks
310
ProcLockHashCode
5836587
ReleaseLockIfHeld
5659
RemoveFromWaitQueue
51
RemoveLocalLock
24864384
ResetAwaitedLock
47
SetupLockInTable
3058074
UnGrantLock
3057308
VirtualXactLock
320
VirtualXactLockTableCleanup
666962
VirtualXactLockTableInsert
666280
WaitOnLock
1475
XactLockForVirtualXact
278
lock_twophase_postabort
196
lock_twophase_postcommit
919
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
813
waitonlock_error_callback
228
Generated by:
LCOV version 2.0-1