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

Method DebugSync

cpp/src/arrow/acero/asof_join_node.cc:164–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162class DebugSync {
163 public:
164 explicit DebugSync(AsofJoinNode* node)
165 : debug_os_(GetDebugStream(node)),
166 debug_mutex_(GetDebugMutex(node)),
167 alt_debug_mutex_(), // an alternative debug-mutex, if the node has none
168 debug_lock_(debug_mutex_ ? *debug_mutex_ : alt_debug_mutex_) {
169 if (debug_os_) {
170 std::ios state(NULL);
171 state.copyfmt(*debug_os_);
172 (*debug_os_) << "AsofjoinNode(" << std::hex << &node << "): ";
173 debug_os_->copyfmt(state);
174 }
175 }
176
177 DebugSync& operator<<(std::ostream& (*pf)(std::ostream&)) {
178 if (debug_os_) pf(*debug_os_);

Callers

nothing calls this directly

Calls 2

GetDebugStreamFunction · 0.85
GetDebugMutexFunction · 0.85

Tested by

no test coverage detected