diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-07 17:27:01 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-07 17:40:23 +0200 |
commit | 3243bf591cca8f31708412d7c4e89755af5204a4 (patch) | |
tree | b47cd88bf8b3b852c9c91dd5e4c61f06dbe4c659 /libs/ardour/ardour/graph.h | |
parent | 6bdf5cb0d7037ea38fb2b6ca15cfb47720d4917b (diff) |
Add method to graphviz plot the process-graph
Diffstat (limited to 'libs/ardour/ardour/graph.h')
-rw-r--r-- | libs/ardour/ardour/graph.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/graph.h b/libs/ardour/ardour/graph.h index 0515b335ce..2ba8ae921c 100644 --- a/libs/ardour/ardour/graph.h +++ b/libs/ardour/ardour/graph.h @@ -59,8 +59,9 @@ public: void trigger (GraphNode* n); void rechain (boost::shared_ptr<RouteList>, GraphEdges const&); + bool plot (std::string const& file_name) const; - void dump (int chain); + void plot (int chain); void reached_terminal_node (); void helper_thread (); @@ -84,6 +85,7 @@ private: void run_one (); void main_thread (); void prep (); + void dump (int chain) const; node_list_t _nodes_rt[2]; node_list_t _init_trigger_list[2]; @@ -115,8 +117,8 @@ private: volatile gint _terminate; /* chain swapping */ - Glib::Threads::Mutex _swap_mutex; Glib::Threads::Cond _cleanup_cond; + mutable Glib::Threads::Mutex _swap_mutex; volatile int _current_chain; volatile int _pending_chain; |