d1.06.01 Measuring performance (CPU) on Linux#

Summary:

There are tools to track the CPU times used (profiling).

On Linux, we use the gprof tool. The use of this tool requires compiling all sources with the « -pg » option. The additional cost of instrumentation is negligible. The result of profiling is a text file that must be interpreted.

To simplify interpretation, a tool for drawing a graph from the text file produced by the « profiled » calculation is proposed at the end of the document.

Table of Contents