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-12-02 04:16:11
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.5 %
912
597
Function Name
Hit count
AbortStrongLockAcquire
719234
AtPrepare_Locks
327
BeginStrongLockAcquire
251779
CheckAndSetLockHeld
50674316
CheckForSessionAndXactLocks
327
CleanUpLock
3011897
DoLockModesConflict
39046
FastPathGetRelationLockEntry
342
FastPathGrantRelationLock
21928403
FastPathTransferRelationLocks
251779
FastPathUnGrantRelationLock
22037034
FinishStrongLockAcquire
3058776
GetAnyGrantedHeavyweightLock
43
GetAwaitedLock
718475
GetBlockerStatusData
1819
GetLockConflicts
1745
GetLockStatusData
354
GetLockTagsMethodTable
1305
GetLockmodeName
10840
GetLocksMethodTable
108
GetRunningTransactionLocks
1637
GetSingleProcBlockerStatusData
1962
GrantAwaitedLock
1
GrantLock
3061079
GrantLockLocal
28993755
InitLockManagerAccess
26975
LockAcquire
1242582
LockAcquireExtended
28994567
LockCheckConflicts
3061099
LockHasWaiters
0
LockHeldByMe
2003129
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469939
LockReassignOwner
817890
LockRefindAndRelease
2804
LockRelease
24572100
LockReleaseAll
1371046
LockReleaseCurrentOwner
6665
LockReleaseSession
122
LockTagHashCode
25856302
LockWaiterCount
98232
MarkLockClear
23973764
PostPrepare_Locks
325
ProcLockHashCode
5844632
ReleaseLockIfHeld
5657
RemoveFromWaitQueue
45
RemoveLocalLock
24987992
ResetAwaitedLock
41
SetupLockInTable
3061790
UnGrantLock
3060989
VirtualXactLock
362
VirtualXactLockTableCleanup
674952
VirtualXactLockTableInsert
674241
WaitOnLock
1526
XactLockForVirtualXact
320
lock_twophase_postabort
194
lock_twophase_postcommit
949
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
852
waitonlock_error_callback
220
Generated by:
LCOV version 2.0-1