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-05 04:15:36
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.4 %
912
596
Function Name
Hit count
AbortStrongLockAcquire
697914
AtPrepare_Locks
326
BeginStrongLockAcquire
240454
CheckAndSetLockHeld
48794205
CheckForSessionAndXactLocks
326
CleanUpLock
2898070
DoLockModesConflict
39042
FastPathGetRelationLockEntry
350
FastPathGrantRelationLock
21110775
FastPathTransferRelationLocks
240454
FastPathUnGrantRelationLock
21212076
FinishStrongLockAcquire
2943509
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
697167
GetBlockerStatusData
1832
GetLockConflicts
1772
GetLockStatusData
303
GetLockTagsMethodTable
1271
GetLockmodeName
10201
GetLocksMethodTable
109
GetRunningTransactionLocks
1598
GetSingleProcBlockerStatusData
1992
GrantAwaitedLock
1
GrantLock
2945791
GrantLockLocal
27948299
InitLockManagerAccess
26357
LockAcquire
1190888
LockAcquireExtended
27949100
LockCheckConflicts
2945803
LockHasWaiters
0
LockHeldByMe
1920994
LockManagerShmemInit
1331
LockManagerShmemRequest
1335
LockReassignCurrentOwner
454853
LockReassignOwner
784771
LockRefindAndRelease
2736
LockRelease
23643607
LockReleaseAll
1331301
LockReleaseCurrentOwner
6539
LockReleaseSession
122
LockTagHashCode
24881033
LockWaiterCount
95215
MarkLockClear
23084894
PostPrepare_Locks
324
ProcLockHashCode
5622493
ReleaseLockIfHeld
5574
RemoveFromWaitQueue
45
RemoveLocalLock
24055086
ResetAwaitedLock
41
SetupLockInTable
2946492
UnGrantLock
2945697
VirtualXactLock
346
VirtualXactLockTableCleanup
655281
VirtualXactLockTableInsert
654690
WaitOnLock
1508
XactLockForVirtualXact
305
lock_twophase_postabort
186
lock_twophase_postcommit
913
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
825
waitonlock_error_callback
220
Generated by:
LCOV version 2.0-1