Created
December 17, 2015 08:40
-
-
Save davidbarkhuizen/694c409f51460d399196 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| timer infrastructure | |
| ------------------- | |
| python pseudo-code | |
| from pytimer import TreeTimer | |
| root_node = TreeTimer(string_log_function, apex_label) | |
| new_node = treeTimer.start('new node label') | |
| ... | |
| new_node.stop('termination message / exit code / omitted') | |
| new_child_of_new_node = new_node.start('new_child_of_new_node label') | |
| # stopping a parent stops all children |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment