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

Function Name Sort by function name Hit count Sort by hit count
BackendPidGetProc 24418
BackendPidGetProcWithLock 28136
BackendXidGetPid 60
CancelDBBackends 18
CancelVirtualTransaction 6
ComputeXidHorizons 382134
CountDBBackends 32
CountDBConnections 0
CountOtherDBBackends 898
CountUserBackends 0
ExpireAllKnownAssignedTransactionIds 214
ExpireOldKnownAssignedTransactionIds 1584
ExpireTreeKnownAssignedTransactionIds 43260
FullXidRelativeTo 23261208
GetConflictingVirtualXIDs 26212
GetCurrentVirtualXIDs 814
GetMaxSnapshotSubxidCount 66936
GetMaxSnapshotXidCount 67314
GetOldestActiveTransactionId 12926
GetOldestNonRemovableTransactionId 276132
GetOldestSafeDecodingTransactionId 1336
GetOldestTransactionIdConsideredRunning 3420
GetReplicationHorizons 100
GetRunningTransactionData 2768
GetSnapshotData 4251382
GetSnapshotDataReuse 4251382
GetVirtualXIDsDelayingChkpt 6172
GlobalVisCheckRemovableFullXid 592
GlobalVisCheckRemovableXid 12
GlobalVisHorizonKindForRel 28853922
GlobalVisTestFor 28577790
GlobalVisTestIsRemovableFullXid 19119476
GlobalVisTestIsRemovableXid 19118884
GlobalVisTestShouldUpdate 692692
GlobalVisUpdate 102482
GlobalVisUpdateApply 382134
HaveVirtualXIDsDelayingChkpt 112
IsBackendPid 4
KnownAssignedTransactionIdsIdleMaintenance 13434
KnownAssignedXidExists 2
KnownAssignedXidsAdd 44832
KnownAssignedXidsCompress 58320
KnownAssignedXidsDisplay 222
KnownAssignedXidsGet 0
KnownAssignedXidsGetAndSetXmin 2182
KnownAssignedXidsGetOldestXmin 708
KnownAssignedXidsRemove 48602
KnownAssignedXidsRemovePreceding 1798
KnownAssignedXidsRemoveTree 43302
KnownAssignedXidsReset 0
KnownAssignedXidsSearch 48604
MaintainLatestCompletedXid 264952
MaintainLatestCompletedXidRecovery 45058
MinimumActiveBackends 0
ProcArrayAdd 36636
ProcArrayApplyRecoveryInfo 1584
ProcArrayApplyXidAssignment 42
ProcArrayClearTransaction 626
ProcArrayEndTransaction 1041478
ProcArrayEndTransactionInternal 262986
ProcArrayGetReplicationSlotXmin 44
ProcArrayGroupClearXid 344
ProcArrayInitRecovery 214
ProcArrayInstallImportedXmin 32
ProcArrayInstallRestoredXmin 3266
ProcArrayRemove 36588
ProcArraySetReplicationSlotXmin 4750
ProcArrayShmemInit 2204
ProcArrayShmemSize 4108
ProcNumberGetProc 900
ProcNumberGetTransactionIds 22040
RecordKnownAssignedTransactionIds 4959234
SignalVirtualTransaction 10
TerminateOtherDBBackends 2
TransactionIdIsInProgress 31405374
XidCacheRemoveRunningXids 1322

Generated by: LCOV version 1.16