LCOV - code coverage report
Current view: top level - src/backend/storage/ipc - procarray.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1159 1333 86.9 %
Date: 2025-04-03 19:16:07 Functions: 71 77 92.2 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
BackendPidGetProc 19578
BackendPidGetProcWithLock 22776
BackendXidGetPid 60
CancelDBBackends 20
CancelVirtualTransaction 6
ComputeXidHorizons 299420
CountDBBackends 30
CountDBConnections 0
CountOtherDBBackends 838
CountUserBackends 0
ExpireAllKnownAssignedTransactionIds 206
ExpireOldKnownAssignedTransactionIds 896
ExpireTreeKnownAssignedTransactionIds 41864
FullXidRelativeTo 22457874
GetConflictingVirtualXIDs 22142
GetCurrentVirtualXIDs 740
GetMaxSnapshotSubxidCount 60150
GetMaxSnapshotXidCount 60514
GetOldestActiveTransactionId 1028
GetOldestNonRemovableTransactionId 186464
GetOldestSafeDecodingTransactionId 1274
GetOldestTransactionIdConsideredRunning 2594
GetReplicationHorizons 90
GetRunningTransactionData 2014
GetSnapshotData 3903498
GetSnapshotDataReuse 3903498
GetVirtualXIDsDelayingChkpt 4548
GlobalVisCheckRemovableFullXid 922
GlobalVisCheckRemovableXid 12
GlobalVisHorizonKindForRel 28301232
GlobalVisTestFor 28114768
GlobalVisTestIsRemovableFullXid 18698598
GlobalVisTestIsRemovableXid 18697676
GlobalVisTestShouldUpdate 786134
GlobalVisUpdate 110272
GlobalVisUpdateApply 299420
HaveVirtualXIDsDelayingChkpt 68
IsBackendPid 4
KnownAssignedTransactionIdsIdleMaintenance 9016
KnownAssignedXidExists 2
KnownAssignedXidsAdd 44012
KnownAssignedXidsCompress 51818
KnownAssignedXidsDisplay 214
KnownAssignedXidsGet 0
KnownAssignedXidsGetAndSetXmin 2070
KnownAssignedXidsGetOldestXmin 684
KnownAssignedXidsRemove 47202
KnownAssignedXidsRemovePreceding 1102
KnownAssignedXidsRemoveTree 41906
KnownAssignedXidsReset 0
KnownAssignedXidsSearch 47204
MaintainLatestCompletedXid 262160
MaintainLatestCompletedXidRecovery 42966
MinimumActiveBackends 0
ProcArrayAdd 32662
ProcArrayApplyRecoveryInfo 896
ProcArrayApplyXidAssignment 42
ProcArrayClearTransaction 522
ProcArrayEndTransaction 845412
ProcArrayEndTransactionInternal 260326
ProcArrayGetReplicationSlotXmin 44
ProcArrayGroupClearXid 426
ProcArrayInitRecovery 206
ProcArrayInstallImportedXmin 36
ProcArrayInstallRestoredXmin 3118
ProcArrayRemove 32610
ProcArraySetReplicationSlotXmin 4410
ProcArrayShmemInit 2064
ProcArrayShmemSize 3840
ProcNumberGetProc 1132
ProcNumberGetTransactionIds 17758
RecordKnownAssignedTransactionIds 4886364
SignalVirtualTransaction 10
TerminateOtherDBBackends 2
TransactionIdIsActive 0
TransactionIdIsInProgress 25069370
XidCacheRemoveRunningXids 1298

Generated by: LCOV version 1.14