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-09 12:16:02
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
701293
AtPrepare_Locks
310
BeginStrongLockAcquire
240852
CheckAndSetLockHeld
48975880
CheckForSessionAndXactLocks
310
CleanUpLock
2929321
DoLockModesConflict
39042
FastPathGetRelationLockEntry
333
FastPathGrantRelationLock
21169258
FastPathTransferRelationLocks
240852
FastPathUnGrantRelationLock
21287431
FinishStrongLockAcquire
2974835
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
700559
GetBlockerStatusData
1824
GetLockConflicts
1856
GetLockStatusData
464
GetLockTagsMethodTable
1272
GetLockmodeName
11266
GetLocksMethodTable
110
GetRunningTransactionLocks
1610
GetSingleProcBlockerStatusData
1963
GrantAwaitedLock
1
GrantLock
2977077
GrantLockLocal
28045020
InitLockManagerAccess
26287
LockAcquire
1196156
LockAcquireExtended
28045812
LockCheckConflicts
2977080
LockHasWaiters
0
LockHeldByMe
1926374
LockManagerShmemInit
1335
LockManagerShmemRequest
1339
LockReassignCurrentOwner
455693
LockReassignOwner
786487
LockRefindAndRelease
2694
LockRelease
23730206
LockReleaseAll
1337993
LockReleaseCurrentOwner
6524
LockReleaseSession
122
LockTagHashCode
24973254
LockWaiterCount
95560
MarkLockClear
23170610
PostPrepare_Locks
308
ProcLockHashCode
5681676
ReleaseLockIfHeld
5562
RemoveFromWaitQueue
49
RemoveLocalLock
24144886
ResetAwaitedLock
45
SetupLockInTable
2977769
UnGrantLock
2976996
VirtualXactLock
341
VirtualXactLockTableCleanup
658676
VirtualXactLockTableInsert
658069
WaitOnLock
1479
XactLockForVirtualXact
300
lock_twophase_postabort
188
lock_twophase_postcommit
891
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
786
waitonlock_error_callback
226
Generated by:
LCOV version 2.0-1