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
1121
Test Date:
2026-11-19 22:17:09
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
704924
AtPrepare_Locks
327
BeginStrongLockAcquire
250649
CheckAndSetLockHeld
50101012
CheckForSessionAndXactLocks
327
CleanUpLock
2987405
DoLockModesConflict
39042
FastPathGetRelationLockEntry
353
FastPathGrantRelationLock
21667829
FastPathTransferRelationLocks
250649
FastPathUnGrantRelationLock
21775658
FinishStrongLockAcquire
3034720
GetAnyGrantedHeavyweightLock
41
GetAwaitedLock
704174
GetBlockerStatusData
1840
GetLockConflicts
1749
GetLockStatusData
308
GetLockTagsMethodTable
1297
GetLockmodeName
8863
GetLocksMethodTable
110
GetRunningTransactionLocks
1622
GetSingleProcBlockerStatusData
1991
GrantAwaitedLock
2
GrantLock
3037028
GrantLockLocal
28704478
InitLockManagerAccess
26683
LockAcquire
1227540
LockAcquireExtended
28705285
LockCheckConflicts
3036987
LockHasWaiters
0
LockHeldByMe
1997667
LockManagerShmemInit
1355
LockManagerShmemRequest
1359
LockReassignCurrentOwner
469208
LockReassignOwner
817335
LockRefindAndRelease
2781
LockRelease
24297558
LockReleaseAll
1343919
LockReleaseCurrentOwner
6656
LockReleaseSession
122
LockTagHashCode
25566902
LockWaiterCount
98106
MarkLockClear
23698187
PostPrepare_Locks
325
ProcLockHashCode
5796017
ReleaseLockIfHeld
5644
RemoveFromWaitQueue
48
RemoveLocalLock
24703358
ResetAwaitedLock
45
SetupLockInTable
3037734
UnGrantLock
3036948
VirtualXactLock
375
VirtualXactLockTableCleanup
661518
VirtualXactLockTableInsert
660842
WaitOnLock
1472
XactLockForVirtualXact
333
lock_twophase_postabort
194
lock_twophase_postcommit
935
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
839
waitonlock_error_callback
225
Generated by:
LCOV version 2.0-1