File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -865,7 +865,6 @@ int Graph::close() {
865865 cond_close_.wait (lk);
866866 }
867867
868- std::cout << " Tracing graph end " << std::endl;
869868 BMF_TRACE (GRAPH_END, " End" );
870869
871870 if (not exception_from_scheduler_)
@@ -913,7 +912,6 @@ int Graph::force_close() {
913912 for (auto &node : nodes_) {
914913 node.second ->close ();
915914 }
916- std::cout << " Tracing graph end " << std::endl;
917915 BMF_TRACE (GRAPH_END, " End" );
918916 scheduler_->close ();
919917 // report
@@ -1019,7 +1017,6 @@ void Graph::quit_gracefully() {
10191017}
10201018
10211019Graph::~Graph () {
1022- std::cout << " Tracing graph end " << std::endl;
10231020 BMF_TRACE (GRAPH_END, " End" );
10241021
10251022 if (not exception_from_scheduler_)
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ TraceLogger::TraceLogger(int queue_size, bool loop_mode)
9494 std::stringstream tss;
9595 tss << tid;
9696 thread_name_ = tss.str ();
97- std::cout << " Creating tracelogger with buffer size of " << queue_size << std::endl;
97+ BMFLOG (BMF_DEBUG) << " Creating tracelogger with buffer size of " << queue_size << std::endl;
9898
9999 // Set the process name
100100 pid_t pid = getpid ();
@@ -235,7 +235,7 @@ ThreadTrace::ThreadTrace() {
235235 // Register with Tracer
236236 thread_id_ = TraceLogger::instance ()->register_queue (process_name_,
237237 thread_name_);
238- std::cout << " Registering queue " << thread_name_ << " with local id " << thread_id_ << std::endl;
238+ BMFLOG (BMF_DEBUG) << " Registering queue " << thread_name_ << " with local id " << thread_id_ << std::endl;
239239 }
240240}
241241
You can’t perform that action at this time.
0 commit comments