MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / OpBase_Profile

Function OpBase_Profile

src/execution_plan/ops/op.c:220–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220Record OpBase_Profile
221(
222 OpBase *op
223) {
224 double tic [2];
225 // Start timer.
226 simple_tic(tic);
227 Record r = op->profile(op);
228 // Stop timer and accumulate.
229 op->stats->profileExecTime += simple_toc(tic);
230 if(r) op->stats->profileRecordCount++;
231 return r;
232}
233
234bool OpBase_IsWriter
235(

Callers

nothing calls this directly

Calls 2

simple_ticFunction · 0.85
simple_tocFunction · 0.85

Tested by

no test coverage detected