MCPcopy Create free account
hub / github.com/apache/arrow / TraceTaskQueued

Function TraceTaskQueued

cpp/src/arrow/util/async_util.cc:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void TraceTaskQueued(AsyncTaskScheduler::Task* task, const util::tracing::Span& parent) {
140 START_SCOPED_SPAN_WITH_PARENT_SV(task->span, parent, task->name(),
141 {{"task.cost", task->cost()}});
142}
143
144void TraceTaskFinished(AsyncTaskScheduler::Task* task) { END_SPAN(task->span); }
145

Callers 1

AddTaskMethod · 0.85

Calls 2

nameMethod · 0.45
costMethod · 0.45

Tested by

no test coverage detected