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

Function InstrStartNode

src/backend/executor/instrument.c:93–106  ·  view source on GitHub ↗

Entry to a plan node */

Source from the content-addressed store, hash-verified

91
92/* Entry to a plan node */
93void
94InstrStartNode(Instrumentation *instr)
95{
96 if (instr->need_timer &&
97 !INSTR_TIME_SET_CURRENT_LAZY(instr->starttime))
98 elog(ERROR, "InstrStartNode called twice in a row");
99
100 /* save buffer usage totals at node entry, if needed */
101 if (instr->need_bufusage)
102 instr->bufusage_start = pgBufferUsage;
103
104 if (instr->need_walusage)
105 instr->walusage_start = pgWalUsage;
106}
107
108/* Exit from a plan node */
109static void

Callers 14

ExecCallTriggerFuncFunction · 0.85
AfterTriggerExecuteFunction · 0.85
standard_ExecutorRunFunction · 0.85
standard_ExecutorFinishFunction · 0.85
MultiExecBitmapIndexScanFunction · 0.85
MultiExecBitmapOrFunction · 0.85
MultiExecHashFunction · 0.85
ExecProcNodeGPDBFunction · 0.85
ExecProcNodeInstrFunction · 0.85
ExecShutdownNodeFunction · 0.85
ExecAsyncRequestFunction · 0.85
ExecAsyncConfigureWaitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected