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-10 13:16:06
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.6 %
912
598
Function Name
Hit count
AbortStrongLockAcquire
703191
AtPrepare_Locks
308
BeginStrongLockAcquire
249350
CheckAndSetLockHeld
50065374
CheckForSessionAndXactLocks
308
CleanUpLock
2965665
DoLockModesConflict
39042
FastPathGetRelationLockEntry
325
FastPathGrantRelationLock
21672645
FastPathTransferRelationLocks
249350
FastPathUnGrantRelationLock
21780187
FinishStrongLockAcquire
3012779
GetAnyGrantedHeavyweightLock
39
GetAwaitedLock
702446
GetBlockerStatusData
1841
GetLockConflicts
1856
GetLockStatusData
358
GetLockTagsMethodTable
1296
GetLockmodeName
10960
GetLocksMethodTable
109
GetRunningTransactionLocks
1618
GetSingleProcBlockerStatusData
1986
GrantAwaitedLock
1
GrantLock
3015051
GrantLockLocal
28667483
InitLockManagerAccess
26595
LockAcquire
1221197
LockAcquireExtended
28668284
LockCheckConflicts
3015058
LockHasWaiters
0
LockHeldByMe
1984735
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
465535
LockReassignOwner
811975
LockRefindAndRelease
2745
LockRelease
24296046
LockReleaseAll
1340878
LockReleaseCurrentOwner
6643
LockReleaseSession
122
LockTagHashCode
25544665
LockWaiterCount
96549
MarkLockClear
23687912
PostPrepare_Locks
306
ProcLockHashCode
5757075
ReleaseLockIfHeld
5638
RemoveFromWaitQueue
47
RemoveLocalLock
24686226
ResetAwaitedLock
43
SetupLockInTable
3015751
UnGrantLock
3014956
VirtualXactLock
340
VirtualXactLockTableCleanup
660023
VirtualXactLockTableInsert
659350
WaitOnLock
1492
XactLockForVirtualXact
299
lock_twophase_postabort
196
lock_twophase_postcommit
905
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
814
waitonlock_error_callback
224
Generated by:
LCOV version 2.0-1