LCOV - code coverage report
Current view: top level - src/backend/storage/ipc - procarray.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1165 1319 88.3 %
Date: 2025-11-29 17:17:44 Functions: 71 76 93.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CountDBConnections 0
CountUserBackends 0
KnownAssignedXidsGet 0
KnownAssignedXidsReset 0
MinimumActiveBackends 0
KnownAssignedXidExists 2
TerminateOtherDBBackends 2
IsBackendPid 4
CancelVirtualTransaction 6
SignalVirtualTransaction 10
GlobalVisCheckRemovableXid 12
CancelDBBackends 20
CountDBBackends 32
ProcArrayInstallImportedXmin 32
ProcArrayApplyXidAssignment 42
ProcArrayGetReplicationSlotXmin 44
BackendXidGetPid 60
HaveVirtualXIDsDelayingChkpt 90
GetReplicationHorizons 100
ExpireAllKnownAssignedTransactionIds 214
ProcArrayInitRecovery 214
KnownAssignedXidsDisplay 222
ProcArrayGroupClearXid 380
ProcArrayClearTransaction 610
KnownAssignedXidsGetOldestXmin 712
GetCurrentVirtualXIDs 810
CountOtherDBBackends 896
ProcNumberGetProc 958
GlobalVisCheckRemovableFullXid 1198
XidCacheRemoveRunningXids 1322
GetOldestSafeDecodingTransactionId 1338
ExpireOldKnownAssignedTransactionIds 1570
ProcArrayApplyRecoveryInfo 1570
KnownAssignedXidsRemovePreceding 1784
ProcArrayShmemInit 2204
KnownAssignedXidsGetAndSetXmin 2434
GetRunningTransactionData 2732
ProcArrayInstallRestoredXmin 3270
GetOldestTransactionIdConsideredRunning 3404
ProcArrayShmemSize 4108
ProcArraySetReplicationSlotXmin 4726
GetVirtualXIDsDelayingChkpt 6164
KnownAssignedTransactionIdsIdleMaintenance 6254
GetOldestActiveTransactionId 11738
ProcNumberGetTransactionIds 21900
BackendPidGetProc 23844
GetConflictingVirtualXIDs 25112
BackendPidGetProcWithLock 27122
ProcArrayRemove 37282
ProcArrayAdd 37328
ExpireTreeKnownAssignedTransactionIds 43196
KnownAssignedXidsRemoveTree 43238
KnownAssignedXidsAdd 44962
MaintainLatestCompletedXidRecovery 44980
KnownAssignedXidsRemove 48538
KnownAssignedXidsSearch 48540
KnownAssignedXidsCompress 51062
GetMaxSnapshotSubxidCount 68278
GetMaxSnapshotXidCount 68656
GlobalVisUpdate 102786
ProcArrayEndTransactionInternal 260834
MaintainLatestCompletedXid 262786
GetOldestNonRemovableTransactionId 312594
ComputeXidHorizons 418884
GlobalVisUpdateApply 418884
GlobalVisTestShouldUpdate 809406
ProcArrayEndTransaction 1112556
GetSnapshotData 4360104
GetSnapshotDataReuse 4360104
RecordKnownAssignedTransactionIds 4957644
GlobalVisTestIsRemovableXid 19063974
GlobalVisTestIsRemovableFullXid 19065172
FullXidRelativeTo 23400254
TransactionIdIsInProgress 27375046
GlobalVisTestFor 28688240
GlobalVisHorizonKindForRel 29000834

Generated by: LCOV version 1.16