aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/experts/expert_container.cpp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-03-07 17:43:01 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-03-21 16:49:46 -0700
commit98dba897268a8c7f6e2eaf807c83502b8835f6da (patch)
treed4b23a5e94cdd1d500c91fb5a45ae052e9f9da51 /host/lib/experts/expert_container.cpp
parent00bdb2b164ba268ae0a4efa8d0ada70d05f7cdb5 (diff)
downloaduhd-98dba897268a8c7f6e2eaf807c83502b8835f6da.tar.gz
uhd-98dba897268a8c7f6e2eaf807c83502b8835f6da.tar.bz2
uhd-98dba897268a8c7f6e2eaf807c83502b8835f6da.zip
experts: Print values of data nodes when debugging
Diffstat (limited to 'host/lib/experts/expert_container.cpp')
-rw-r--r--host/lib/experts/expert_container.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/host/lib/experts/expert_container.cpp b/host/lib/experts/expert_container.cpp
index dc98ee4ed..edfc2ebe3 100644
--- a/host/lib/experts/expert_container.cpp
+++ b/host/lib/experts/expert_container.cpp
@@ -449,14 +449,17 @@ private:
//Only resolve if the starting node has passed
if (start_node_encountered) {
dag_vertex_t& node = _get_vertex(*node_iter);
+ std::string node_val;
if (force or node.is_dirty()) {
node.resolve();
if (node.get_class() == CLASS_WORKER) {
resolved_workers.push_back(&node);
}
- EX_LOG(1, str(boost::format("resolved node %s (%s)") % node.get_name() % (node.is_dirty()?"dirty":"clean")));
+ EX_LOG(1, str(boost::format("resolved node %s (%s) [%s]") %
+ node.get_name() % (node.is_dirty()?"dirty":"clean") % node.to_string()));
} else {
- EX_LOG(1, str(boost::format("skipped node %s (%s)") % node.get_name() % (node.is_dirty()?"dirty":"clean")));
+ EX_LOG(1, str(boost::format("skipped node %s (%s) [%s]") %
+ node.get_name() % (node.is_dirty()?"dirty":"clean") % node.to_string()));
}
}