I wanted to time my program's time to completion, and came across the GNU program GPROF. It seems to be very powerful, but I don't understand some of its output.
I don't understand what this means, could someone please clarify what "sample hit covers x bytes" and "X% of X seconds" means? I don't understand the context of the latter, I understand it is 0.00926 seconds... :
granularity: each sample hit covers 2 byte(s) for 0.02% of 46.30 seconds