Draft: Better Profiling
DO NOT MERGE RIGHT NOW
This needs significant work, but we need a way to perform profiling under the following conditions:
- Program exits cleanly
- Program receives SIGINT or SIGKILL
- Program crashes
This is much easier said than done. The MR currently only handles state 2 properly. We need to do some kind of defer magic and I do not have time to fully work out how to do it right now.
Edited by Richard T. Carback III