4 ms·
Summary: Run gdb on your program, hit control-c and run 'thread apply all bt' a few times, to understand where your program is spending time. I've actually use
by petewarden 17y ago
Summary: Run gdb on your program, hit control-c and run 'thread apply all bt' a few times, to understand where your program is spending time.
I've actually used this a lot in the past, it's surprisingly useful!