LCOV - code coverage report
Current view: top level - src/backend/storage/lmgr - lock.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1111 1277 87.0 %
Date: 2025-04-03 19:16:07 Functions: 57 60 95.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AbortStrongLockAcquire 906618
AtPrepare_Locks 526
BeginStrongLockAcquire 376440
CheckAndSetLockHeld 70376688
CheckForSessionAndXactLocks 526
CleanUpLock 4353842
DoLockModesConflict 488
FastPathGetRelationLockEntry 544
FastPathGrantRelationLock 30070414
FastPathTransferRelationLocks 376440
FastPathUnGrantRelationLock 30458182
FinishStrongLockAcquire 4424950
GetAwaitedLock 905108
GetBlockerStatusData 3204
GetLockConflicts 2604
GetLockStatusData 622
GetLockTagsMethodTable 2256
GetLockmodeName 15456
GetLocksMethodTable 198
GetRunningTransactionLocks 2000
GetSingleProcBlockerStatusData 3348
GrantAwaitedLock 2
GrantLock 4428360
GrantLockLocal 39057534
InitLockManagerAccess 40060
LockAcquire 1547544
LockAcquireExtended 39059148
LockCheckConflicts 4428914
LockHasWaiters 0
LockHeldByMe 0
LockManagerShmemInit 2064
LockManagerShmemSize 3840
LockReassignCurrentOwner 748774
LockReassignOwner 1169526
LockRefindAndRelease 3972
LockRelease 34456266
LockReleaseAll 1724802
LockReleaseCurrentOwner 10616
LockReleaseSession 238
LockTagHashCode 35624898
LockWaiterCount 133762
MarkLockClear 33225932
PostPrepare_Locks 522
ProcLockHashCode 8445430
ReleaseLockIfHeld 5800
RemoveFromWaitQueue 88
RemoveLocalLock 34496980
ResetAwaitedLock 80
SetupLockInTable 4429768
UnGrantLock 4428204
VirtualXactLock 630
VirtualXactLockTableCleanup 846982
VirtualXactLockTableInsert 846148
WaitOnLock 2382
XactLockForVirtualXact 550
lock_twophase_postabort 252
lock_twophase_postcommit 1322
lock_twophase_recover 180
lock_twophase_standby_recover 0
proclock_hash 1186

Generated by: LCOV version 1.14