Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 994 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 994 Bytes

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