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-11-17 19:16:08
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
698343
AtPrepare_Locks
338
BeginStrongLockAcquire
250079
CheckAndSetLockHeld
49823537
CheckForSessionAndXactLocks
338
CleanUpLock
2961286
DoLockModesConflict
39042
FastPathGetRelationLockEntry
359
FastPathGrantRelationLock
21556969
FastPathTransferRelationLocks
250079
FastPathUnGrantRelationLock
21665255
FinishStrongLockAcquire
3008440
GetAnyGrantedHeavyweightLock
45
GetAwaitedLock
697625
GetBlockerStatusData
1795
GetLockConflicts
1757
GetLockStatusData
309
GetLockTagsMethodTable
1300
GetLockmodeName
10365
GetLocksMethodTable
109
GetRunningTransactionLocks
1618
GetSingleProcBlockerStatusData
1935
GrantAwaitedLock
2
GrantLock
3010762
GrantLockLocal
28552595
InitLockManagerAccess
26531
LockAcquire
1216865
LockAcquireExtended
28553370
LockCheckConflicts
3010760
LockHasWaiters
0
LockHeldByMe
1988741
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
465758
LockReassignOwner
813140
LockRefindAndRelease
2826
LockRelease
24171192
LockReleaseAll
1330322
LockReleaseCurrentOwner
6658
LockReleaseSession
122
LockTagHashCode
25423761
LockWaiterCount
96187
MarkLockClear
23569752
PostPrepare_Locks
336
ProcLockHashCode
5747503
ReleaseLockIfHeld
5644
RemoveFromWaitQueue
49
RemoveLocalLock
24566186
ResetAwaitedLock
46
SetupLockInTable
3011435
UnGrantLock
3010664
VirtualXactLock
379
VirtualXactLockTableCleanup
654782
VirtualXactLockTableInsert
654111
WaitOnLock
1573
XactLockForVirtualXact
337
lock_twophase_postabort
196
lock_twophase_postcommit
973
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
880
waitonlock_error_callback
225
Generated by:
LCOV version 2.0-1