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

Function TraceTaskQueued

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

Source from the content-addressed store, hash-verified

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

Callers 1

AddTaskMethod · 0.85

Calls 2

nameMethod · 0.45
costMethod · 0.45

Tested by

no test coverage detected