MCPcopy Create free account
hub / github.com/apache/cloudberry / WalUsageAccumDiff

Function WalUsageAccumDiff

src/backend/executor/instrument.c:593–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593void
594WalUsageAccumDiff(WalUsage *dst, const WalUsage *add, const WalUsage *sub)
595{
596 dst->wal_bytes += add->wal_bytes - sub->wal_bytes;
597 dst->wal_records += add->wal_records - sub->wal_records;
598 dst->wal_fpi += add->wal_fpi - sub->wal_fpi;
599}

Callers 6

pgss_plannerFunction · 0.85
pgss_ProcessUtilityFunction · 0.85
pgstat_send_walFunction · 0.85
heap_vacuum_relFunction · 0.85
InstrStopNodeSyncFunction · 0.85
InstrEndParallelQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected