Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Parallel Programming Guide for HP-UX Systems > Chapter 5 UPC

Profiling

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

-p [Tru64 UNIX Only]

Perform profiling by periodically sampling the value of the program counter. This option affects only linking. When linking is done, this option replaces the standard run-time startup routine with the profiling run-time startup routine (mcrt0.o) and searches the level 1 profiling library (libprof1.a). When profiling is completed, the startup routine calls the monstartup routine and produces a mon.out file that contains execution-profiling data for use with the postprocessor prof. Same as -p1 [Tru64 UNIX Only]



-p0
[Tru64 UNIX Only]Do not perform profiling. This is the default.



-p1 [Tru64 UNIX Only]

Perform profiling by periodically sampling the value of the program counter. This option affects only linking. When linking is done, this option replaces the standard run-time startup routine with the profiling run-time startup routine (mcrt0.o) and searches the level 1 profiling library (libprof1.a). When profiling is completed, the startup rou- tine calls the monstartup routine and produces a mon.out file that contains execution-profiling data for use with the postprocessor prof. Same as -p.



-[no]pg
[Tru64 UNIX Only]

Perform call graph profiling using the gprof tool. Specify -nopg to disable selectively profiling for individual modules when using the -pg graph profiling option.

For more information on profiling UPC code, see the Tru64 UNIX Programmer's Guide and the gprof(1) reference page.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.