Created
October 7, 2018 03:27
-
-
Save ddrown/06e3bf4910dcb76d5f45e9370fb5bdfb to your computer and use it in GitHub Desktop.
gnuradio startup time measurement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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