Skip to content

Instantly share code, notes, and snippets.

@ddrown
Created October 7, 2018 03:27
Show Gist options
  • Save ddrown/06e3bf4910dcb76d5f45e9370fb5bdfb to your computer and use it in GitHub Desktop.
Save ddrown/06e3bf4910dcb76d5f45e9370fb5bdfb to your computer and use it in GitHub Desktop.
gnuradio startup time measurement
def main(top_block_cls=top_block, options=None):
+ start = datetime.datetime.now()
tb = top_block_cls()
tb.start()
+ finished = datetime.datetime.now() - start
+ sys.stderr.write("took %.3f s\n" % (finished.total_seconds()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment