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-21 23:16:15
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
706842
AtPrepare_Locks
334
BeginStrongLockAcquire
251085
CheckAndSetLockHeld
50151447
CheckForSessionAndXactLocks
334
CleanUpLock
3003187
DoLockModesConflict
39046
FastPathGetRelationLockEntry
359
FastPathGrantRelationLock
21677328
FastPathTransferRelationLocks
251085
FastPathUnGrantRelationLock
21791724
FinishStrongLockAcquire
3050500
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
706132
GetBlockerStatusData
1822
GetLockConflicts
1909
GetLockStatusData
318
GetLockTagsMethodTable
1300
GetLockmodeName
10640
GetLocksMethodTable
110
GetRunningTransactionLocks
1626
GetSingleProcBlockerStatusData
1953
GrantAwaitedLock
2
GrantLock
3052831
GrantLockLocal
28735348
InitLockManagerAccess
26751
LockAcquire
1230299
LockAcquireExtended
28736115
LockCheckConflicts
3052816
LockHasWaiters
0
LockHeldByMe
1998598
LockManagerShmemInit
1358
LockManagerShmemRequest
1362
LockReassignCurrentOwner
469098
LockReassignOwner
816869
LockRefindAndRelease
2818
LockRelease
24322245
LockReleaseAll
1347567
LockReleaseCurrentOwner
6666
LockReleaseSession
122
LockTagHashCode
25593687
LockWaiterCount
98045
MarkLockClear
23721652
PostPrepare_Locks
332
ProcLockHashCode
5828130
ReleaseLockIfHeld
5658
RemoveFromWaitQueue
49
RemoveLocalLock
24728597
ResetAwaitedLock
45
SetupLockInTable
3053497
UnGrantLock
3052746
VirtualXactLock
383
VirtualXactLockTableCleanup
663304
VirtualXactLockTableInsert
662620
WaitOnLock
1542
XactLockForVirtualXact
341
lock_twophase_postabort
196
lock_twophase_postcommit
955
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
859
waitonlock_error_callback
222
Generated by:
LCOV version 2.0-1