Mercurial > code > home > repos > light9
diff bin/vidref @ 1957:a745bee5c419
new process stats visualizers
Ignore-this: 8e47516baad0bfb9cd02a712571c5a5f
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 06 Jun 2019 09:31:36 +0000 |
parents | ec816fd31c83 |
children | df28c994365d |
line wrap: on
line diff
--- a/bin/vidref Thu Jun 06 02:59:26 2019 +0000 +++ b/bin/vidref Thu Jun 06 09:31:36 2019 +0000 @@ -30,6 +30,7 @@ from light9.newtypes import Song from light9.vidref import videorecorder from rdfdb.syncedgraph import SyncedGraph +from standardservice.scalessetup import gatherProcessStats parser = optparse.OptionParser() parser.add_option("-v", "--verbose", action="store_true", help="logging.DEBUG") @@ -37,6 +38,7 @@ log.setLevel(logging.DEBUG if options.verbose else logging.INFO) +gatherProcessStats() stats = scales.collection( '/webServer', scales.RecentFpsStat('liveWebsocketFrameFps'),