Intel® C++ Compiler 18.0 Developer Guide and Reference
Compiles and links for function profiling with gprof(1).
Not available on Intel® 64 architecture targeting Intel® Graphics Technology, or when targeting Intel® Graphics Technology running on IA-32 architecture
Linux and macOS: | -p |
Windows: | None |
None
OFF |
Files are compiled and linked without profiling. |
This option compiles and links for function profiling with gprof(1).
When you specify this option, inlining is disabled. However, you can override this by specifying pragma forceinline, declspec forceinline (Windows*), attribute always_inline (Linux* and macOS*), or a compiler option such as [Q]inline-forceinline.
Linux and macOS*: -qp (this is a deprecated option)
Windows: None