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

Function BufferUsageAdd

src/backend/executor/instrument.c:274–289  ·  view source on GitHub ↗

dst += add */

Source from the content-addressed store, hash-verified

272
273/* dst += add */
274static void
275BufferUsageAdd(BufferUsage *dst, const BufferUsage *add)
276{
277 dst->shared_blks_hit += add->shared_blks_hit;
278 dst->shared_blks_read += add->shared_blks_read;
279 dst->shared_blks_dirtied += add->shared_blks_dirtied;
280 dst->shared_blks_written += add->shared_blks_written;
281 dst->local_blks_hit += add->local_blks_hit;
282 dst->local_blks_read += add->local_blks_read;
283 dst->local_blks_dirtied += add->local_blks_dirtied;
284 dst->local_blks_written += add->local_blks_written;
285 dst->temp_blks_read += add->temp_blks_read;
286 dst->temp_blks_written += add->temp_blks_written;
287 INSTR_TIME_ADD(dst->blk_read_time, add->blk_read_time);
288 INSTR_TIME_ADD(dst->blk_write_time, add->blk_write_time);
289}
290
291/* dst += add - sub */
292void

Callers 2

InstrAggNodeFunction · 0.85
InstrAccumParallelQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected