p

Compiles and links for function profiling with gprof(1).

IDE Equivalent

None

Architectures

IA-32, IntelĀ® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-p

Windows:

None

Arguments

None

Default

OFF

Files are compiled and linked without profiling.

Description

This option compiles and links for function profiling with gprof(1).

Alternate Options

Linux and Mac OS X: -qp (this is a deprecated option)

Windows: None