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-29 02:16:09
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.2 %
912
595
Function Name
Hit count
AbortStrongLockAcquire
707213
AtPrepare_Locks
316
BeginStrongLockAcquire
251450
CheckAndSetLockHeld
50328960
CheckForSessionAndXactLocks
316
CleanUpLock
3018589
DoLockModesConflict
39046
FastPathGetRelationLockEntry
343
FastPathGrantRelationLock
21751166
FastPathTransferRelationLocks
251450
FastPathUnGrantRelationLock
21862014
FinishStrongLockAcquire
3066040
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
706454
GetBlockerStatusData
1841
GetLockConflicts
1749
GetLockStatusData
331
GetLockTagsMethodTable
1302
GetLockmodeName
10926
GetLocksMethodTable
109
GetRunningTransactionLocks
1630
GetSingleProcBlockerStatusData
1967
GrantAwaitedLock
1
GrantLock
3068348
GrantLockLocal
28819768
InitLockManagerAccess
26879
LockAcquire
1230213
LockAcquireExtended
28820584
LockCheckConflicts
3068341
LockHasWaiters
0
LockHeldByMe
2001969
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469746
LockReassignOwner
818150
LockRefindAndRelease
2772
LockRelease
24410167
LockReleaseAll
1347741
LockReleaseCurrentOwner
6665
LockReleaseSession
122
LockTagHashCode
25684741
LockWaiterCount
98135
MarkLockClear
23810911
PostPrepare_Locks
314
ProcLockHashCode
5858272
ReleaseLockIfHeld
5659
RemoveFromWaitQueue
48
RemoveLocalLock
24818023
ResetAwaitedLock
44
SetupLockInTable
3069063
UnGrantLock
3068252
VirtualXactLock
357
VirtualXactLockTableCleanup
663359
VirtualXactLockTableInsert
662641
WaitOnLock
1507
XactLockForVirtualXact
315
lock_twophase_postabort
196
lock_twophase_postcommit
913
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
827
waitonlock_error_callback
224
Generated by:
LCOV version 2.0-1