For a quick-and-dirty profiling session, we'd often want to run LiveStacks for a few seconds and then output the call stack summary (folded or not) for the entire duration. The current interval and count settings make it a bit hard to express. By default, switch to printing output only when the user stops the session with Ctrl+C. The interval and count options would override this behavior, e.g. -i 5 would mean print at 5-second intervals indefinitely, and -c 5 would mean print 5 times at default intervals (currently 10 seconds).
For a quick-and-dirty profiling session, we'd often want to run LiveStacks for a few seconds and then output the call stack summary (folded or not) for the entire duration. The current interval and count settings make it a bit hard to express. By default, switch to printing output only when the user stops the session with Ctrl+C. The interval and count options would override this behavior, e.g.
-i 5
would mean print at 5-second intervals indefinitely, and-c 5
would mean print 5 times at default intervals (currently 10 seconds).