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

Function WalUsageAdd

src/backend/executor/instrument.c:585–591  ·  view source on GitHub ↗

helper functions for WAL usage accumulation */

Source from the content-addressed store, hash-verified

583
584/* helper functions for WAL usage accumulation */
585static void
586WalUsageAdd(WalUsage *dst, WalUsage *add)
587{
588 dst->wal_bytes += add->wal_bytes;
589 dst->wal_records += add->wal_records;
590 dst->wal_fpi += add->wal_fpi;
591}
592
593void
594WalUsageAccumDiff(WalUsage *dst, const WalUsage *add, const WalUsage *sub)

Callers 2

InstrAggNodeFunction · 0.85
InstrAccumParallelQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected