Skip to content

Compiler Option: -profile


Enable function profiling for gmon/gprof

Syntax

` -profile

`

Description

The -profile compiler option enables profiling code generation for gmon/gprof. After running an executable compiled with this option, a gmon.out file will be created in the program directory, allowing use of GPROF for analysis of the program's execution.

See also

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft