LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
88.1 %
1277
1125
Test Date:
2026-07-03 19:57:34
Functions:
96.7 %
61
59
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.3 %
904
590
Function Name
Hit count
AbortStrongLockAcquire
694994
AtPrepare_Locks
315
BeginStrongLockAcquire
249609
CheckAndSetLockHeld
50393152
CheckForSessionAndXactLocks
315
CleanUpLock
2948963
DoLockModesConflict
39025
FastPathGetRelationLockEntry
337
FastPathGrantRelationLock
21618061
FastPathTransferRelationLocks
249609
FastPathUnGrantRelationLock
21742732
FinishStrongLockAcquire
2994710
GetAwaitedLock
694248
GetBlockerStatusData
2141
GetLockConflicts
1694
GetLockStatusData
296
GetLockTagsMethodTable
1282
GetLockmodeName
13704
GetLocksMethodTable
107
GetRunningTransactionLocks
1536
GetSingleProcBlockerStatusData
2229
GrantAwaitedLock
2
GrantLock
2997034
GrantLockLocal
27774351
InitLockManagerAccess
24752
LockAcquire
1198574
LockAcquireExtended
27775150
LockCheckConflicts
2997007
LockHasWaiters
0
LockHeldByMe
2029877
LockManagerShmemInit
1246
LockManagerShmemRequest
1249
LockReassignCurrentOwner
440873
LockReassignOwner
799246
LockRefindAndRelease
2765
LockRelease
24653404
LockReleaseAll
1325708
LockReleaseCurrentOwner
6323
LockReleaseSession
122
LockTagHashCode
25457144
LockWaiterCount
94971
MarkLockClear
23641697
PostPrepare_Locks
313
ProcLockHashCode
5723274
ReleaseLockIfHeld
4221
RemoveFromWaitQueue
44
RemoveLocalLock
24613572
ResetAwaitedLock
41
SetupLockInTable
2997736
UnGrantLock
2996963
VirtualXactLock
374
VirtualXactLockTableCleanup
653083
VirtualXactLockTableInsert
652547
WaitOnLock
1513
XactLockForVirtualXact
329
lock_twophase_postabort
178
lock_twophase_postcommit
884
lock_twophase_recover
96
lock_twophase_standby_recover
0
proclock_hash
784
waitonlock_error_callback
228
Generated by:
LCOV version 2.0-1