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-27 01:16:06
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
715995
AtPrepare_Locks
323
BeginStrongLockAcquire
251469
CheckAndSetLockHeld
50597095
CheckForSessionAndXactLocks
323
CleanUpLock
3012587
DoLockModesConflict
39046
FastPathGetRelationLockEntry
352
FastPathGrantRelationLock
21888102
FastPathTransferRelationLocks
251469
FastPathUnGrantRelationLock
22003697
FinishStrongLockAcquire
3060039
GetAnyGrantedHeavyweightLock
44
GetAwaitedLock
715256
GetBlockerStatusData
1930
GetLockConflicts
1865
GetLockStatusData
303
GetLockTagsMethodTable
1303
GetLockmodeName
10871
GetLocksMethodTable
113
GetRunningTransactionLocks
1625
GetSingleProcBlockerStatusData
2089
GrantAwaitedLock
1
GrantLock
3062348
GrantLockLocal
28961204
InitLockManagerAccess
26857
LockAcquire
1238346
LockAcquireExtended
28962000
LockCheckConflicts
3062352
LockHasWaiters
0
LockHeldByMe
2002100
LockManagerShmemInit
1359
LockManagerShmemRequest
1363
LockReassignCurrentOwner
469795
LockReassignOwner
819046
LockRefindAndRelease
2784
LockRelease
24536740
LockReleaseAll
1364435
LockReleaseCurrentOwner
6670
LockReleaseSession
122
LockTagHashCode
25816676
LockWaiterCount
98387
MarkLockClear
23937744
PostPrepare_Locks
321
ProcLockHashCode
5847202
ReleaseLockIfHeld
5665
RemoveFromWaitQueue
48
RemoveLocalLock
24948938
ResetAwaitedLock
44
SetupLockInTable
3063043
UnGrantLock
3062265
VirtualXactLock
369
VirtualXactLockTableCleanup
671696
VirtualXactLockTableInsert
671001
WaitOnLock
1539
XactLockForVirtualXact
327
lock_twophase_postabort
194
lock_twophase_postcommit
938
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
843
waitonlock_error_callback
232
Generated by:
LCOV version 2.0-1