August 7, 2013

Is there any debugging tool that can run an executable and report the execution time of all the functions in the same?

Is there any debugging tool that can run an executable and report the execution time of all the functions in the same?

Yes and no. There are various tools for "profiling" applications in linux,...

Yes and no. There are various tools for "profiling" applications in linux, the most prominent being perf, oprofile, and gcov. Each has specific requirements, though, starting with the symbol information for the executable you want to study.

{To improve storage requirements, memory requirements, and startup time, most linux applications are "stripped" of extraneous symbols before packaging.}

Like  (0 likes)

Use valgrind's callgrind tool. Valgrind is a tool you need when doing...

Use valgrind's callgrind tool. Valgrind is a tool you need when doing anything non-trivial.

http://valgrind.org/docs/manual/cl-manual.html

Like  (0 likes)