GNU gprof

Table of Contents

Next: , Up: (dir)


Profiling a Program: Where Does It Spend Its Time?

This manual describes the gnu profiler, gprof, and how you can use it to determine which parts of a program are taking most of the execution time. We assume that you know how to write, compile, and execute programs. gnu gprof was written by Jay Fenlason.

This manual is for gprof (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) version 2.33.1.

This document is distributed under the terms of the GNU Free Documentation License version 1.3. A copy of the license is included in the section entitled “GNU Free Documentation License”.