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-07 09:15:54
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
692891
AtPrepare_Locks
334
BeginStrongLockAcquire
240813
CheckAndSetLockHeld
48713504
CheckForSessionAndXactLocks
334
CleanUpLock
2904291
DoLockModesConflict
39042
FastPathGetRelationLockEntry
360
FastPathGrantRelationLock
21065052
FastPathTransferRelationLocks
240813
FastPathUnGrantRelationLock
21173365
FinishStrongLockAcquire
2949766
GetAnyGrantedHeavyweightLock
45
GetAwaitedLock
692174
GetBlockerStatusData
1868
GetLockConflicts
1764
GetLockStatusData
351
GetLockTagsMethodTable
1270
GetLockmodeName
10072
GetLocksMethodTable
110
GetRunningTransactionLocks
1609
GetSingleProcBlockerStatusData
2018
GrantAwaitedLock
1
GrantLock
2952057
GrantLockLocal
27912030
InitLockManagerAccess
26263
LockAcquire
1188152
LockAcquireExtended
27912801
LockCheckConflicts
2952059
LockHasWaiters
0
LockHeldByMe
1926299
LockManagerShmemInit
1335
LockManagerShmemRequest
1339
LockReassignCurrentOwner
455986
LockReassignOwner
786693
LockRefindAndRelease
2748
LockRelease
23606993
LockReleaseAll
1321429
LockReleaseCurrentOwner
6539
LockReleaseSession
122
LockTagHashCode
24842547
LockWaiterCount
95577
MarkLockClear
23045459
PostPrepare_Locks
332
ProcLockHashCode
5633404
ReleaseLockIfHeld
5572
RemoveFromWaitQueue
46
RemoveLocalLock
24015590
ResetAwaitedLock
42
SetupLockInTable
2952728
UnGrantLock
2951977
VirtualXactLock
368
VirtualXactLockTableCleanup
650405
VirtualXactLockTableInsert
649808
WaitOnLock
1502
XactLockForVirtualXact
327
lock_twophase_postabort
188
lock_twophase_postcommit
921
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
823
waitonlock_error_callback
225
Generated by:
LCOV version 2.0-1