MCPcopy Create free account
hub / github.com/bytedance/bolt / recordInterOpStats

Function recordInterOpStats

bolt/cudf/exec/InterOp.cpp:230–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 }
229
230 void recordInterOpStats(
231 bytedance::bolt::exec::Operator& op,
232 const InterOpStats& interOpStats) {
233 auto lockedStats = op.stats().wlock();
234 lockedStats->addRuntimeStat(
235 "exportToArrowArrayNanos",
236 bytedance::bolt::RuntimeCounter{
237 static_cast<int64_t>(interOpStats.exportToArrowArrayTimeNs),
238 bytedance::bolt::RuntimeCounter::Unit::kNanos});
239 lockedStats->addRuntimeStat(
240 "exportToArrowSchemaNanos",
241 bytedance::bolt::RuntimeCounter{
242 static_cast<int64_t>(interOpStats.exportToArrowSchemaTimeNs),
243 bytedance::bolt::RuntimeCounter::Unit::kNanos});
244 }
245
246 } // namespace bolt::cudf::exec

Callers 2

getOutputMethod · 0.85
getOutputMethod · 0.85

Calls 2

statsMethod · 0.45
addRuntimeStatMethod · 0.45

Tested by

no test coverage detected