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-11-11 14:16:08
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
710077
AtPrepare_Locks
315
BeginStrongLockAcquire
249456
CheckAndSetLockHeld
49982163
CheckForSessionAndXactLocks
315
CleanUpLock
2985388
DoLockModesConflict
39042
FastPathGetRelationLockEntry
340
FastPathGrantRelationLock
21609536
FastPathTransferRelationLocks
249456
FastPathUnGrantRelationLock
21713330
FinishStrongLockAcquire
3032502
GetAnyGrantedHeavyweightLock
46
GetAwaitedLock
709330
GetBlockerStatusData
1820
GetLockConflicts
1820
GetLockStatusData
326
GetLockTagsMethodTable
1295
GetLockmodeName
10804
GetLocksMethodTable
109
GetRunningTransactionLocks
1614
GetSingleProcBlockerStatusData
1960
GrantAwaitedLock
1
GrantLock
3034796
GrantLockLocal
28630197
InitLockManagerAccess
26628
LockAcquire
1226238
LockAcquireExtended
28631003
LockCheckConflicts
3034823
LockHasWaiters
0
LockHeldByMe
1985806
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466374
LockReassignOwner
813490
LockRefindAndRelease
2757
LockRelease
24244632
LockReleaseAll
1353385
LockReleaseCurrentOwner
6648
LockReleaseSession
122
LockTagHashCode
25502006
LockWaiterCount
96419
MarkLockClear
23641738
PostPrepare_Locks
313
ProcLockHashCode
5796359
ReleaseLockIfHeld
5650
RemoveFromWaitQueue
50
RemoveLocalLock
24642845
ResetAwaitedLock
46
SetupLockInTable
3035501
UnGrantLock
3034716
VirtualXactLock
387
VirtualXactLockTableCleanup
666266
VirtualXactLockTableInsert
665580
WaitOnLock
1536
XactLockForVirtualXact
346
lock_twophase_postabort
196
lock_twophase_postcommit
911
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
815
waitonlock_error_callback
227
Generated by:
LCOV version 2.0-1