I come from a Matlab background so I am used to a profiler which profiles every single line and not just every function like gprof
or callgrind
. Is there a profiler for C
with a similar feature?
Thanks!
(source: jburkardt at people.sc.fsu.edu)
Shark, one of the profiling tools in Mac OS X, can do that (or even profile by instruction). I realise that your screenshot is on Windows so that may not be helpful, but perhaps you can run your code on a Mac. You could try Very Sleepy, but I've never used it so have no idea how good it is.