LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.7 %
1276
1119
Test Date:
2026-11-26 01:16:01
Functions:
95.2 %
62
59
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
704363
AtPrepare_Locks
339
BeginStrongLockAcquire
251344
CheckAndSetLockHeld
50170475
CheckForSessionAndXactLocks
339
CleanUpLock
2997169
DoLockModesConflict
39046
FastPathGetRelationLockEntry
364
FastPathGrantRelationLock
21693357
FastPathTransferRelationLocks
251344
FastPathUnGrantRelationLock
21802796
FinishStrongLockAcquire
3044547
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
703665
GetBlockerStatusData
1885
GetLockConflicts
1837
GetLockStatusData
329
GetLockTagsMethodTable
1303
GetLockmodeName
10588
GetLocksMethodTable
110
GetRunningTransactionLocks
1623
GetSingleProcBlockerStatusData
2015
GrantAwaitedLock
0
GrantLock
3046886
GrantLockLocal
28740783
InitLockManagerAccess
26837
LockAcquire
1226631
LockAcquireExtended
28741538
LockCheckConflicts
3046816
LockHasWaiters
0
LockHeldByMe
2001192
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469841
LockReassignOwner
819134
LockRefindAndRelease
2838
LockRelease
24334380
LockReleaseAll
1341361
LockReleaseCurrentOwner
6666
LockReleaseSession
122
LockTagHashCode
25605074
LockWaiterCount
98567
MarkLockClear
23733321
PostPrepare_Locks
337
ProcLockHashCode
5814926
ReleaseLockIfHeld
5651
RemoveFromWaitQueue
49
RemoveLocalLock
24738659
ResetAwaitedLock
44
SetupLockInTable
3047540
UnGrantLock
3046791
VirtualXactLock
396
VirtualXactLockTableCleanup
660158
VirtualXactLockTableInsert
659484
WaitOnLock
1544
XactLockForVirtualXact
354
lock_twophase_postabort
196
lock_twophase_postcommit
969
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
878
waitonlock_error_callback
227
Generated by:
LCOV version 2.0-1