/sacn_monitor

Monitor sACN universes

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

sACN Monitor

Simple application to monitor sACN universes.

Tested on Archlinux and Windows 10 (with MSYS2).

Screenshot

Depends on

  • python3
  • Gtk
  • sACN module

For Windows 10, see PyGobject.

Usage

Monitored universes are define with UNIVERSES in monitor.py

$ git clone https://github.com/mikacousin/sacn_monitor.git
$ cd sacn_monitor
$ python monitor.py

Profiling

Simply set the SACN_MONITOR_PROFILING environment variable to 1, like so:

$ SACN_MONITOR_PROFILING=1 python monitor.py

A file named sacn_monitor-runstats will be created in the current directory, a handy tool to examine it is gprof2dot.py. After install it, run:

$ gprof2dot -n0 -e0 -f pstats sacn_monitor-runstats | dot -Tsvg -o callgraph.svg
$ xdg-open callgraph.svg