summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/flat_flowgraph.cc
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2013-06-07 11:42:33 -0400
committerTim O'Shea <tim.oshea753@gmail.com>2013-06-07 11:42:33 -0400
commit3e9886a70650474a5330ae9a3553069260fc03c4 (patch)
tree844d05c187f2a98bdb74cecbb9392eb40d0766c5 /gnuradio-runtime/lib/flat_flowgraph.cc
parentcc073d26de6ad088f5580582b5d28d064336c530 (diff)
runtime: export list of msg connections when performance counters are enabled
Diffstat (limited to 'gnuradio-runtime/lib/flat_flowgraph.cc')
-rw-r--r--gnuradio-runtime/lib/flat_flowgraph.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/flat_flowgraph.cc b/gnuradio-runtime/lib/flat_flowgraph.cc
index 8b188799a5..b8a1a67bc7 100644
--- a/gnuradio-runtime/lib/flat_flowgraph.cc
+++ b/gnuradio-runtime/lib/flat_flowgraph.cc
@@ -335,6 +335,15 @@ namespace gr {
return s.str();
}
+ std::string
+ flat_flowgraph::msg_edge_list()
+ {
+ std::stringstream s;
+ for(msg_edge_viter_t e = d_msg_edges.begin(); e != d_msg_edges.end(); e++)
+ s << (*e) << std::endl;
+ return s.str();
+ }
+
void flat_flowgraph::dump()
{
for(edge_viter_t e = d_edges.begin(); e != d_edges.end(); e++)