figure out way to not "infinite loop" sampling events
Right now, sampling will just keep going indefinitely. A solution is to fix the number or the total time sampling goes on for, but that seems like a kludge - guesses will need to be "right on" to get a set of samples that correspond well to the run. I wonder if there's a way to "detect" that nothing interesting is going on, and skip samples in that case?