Analyzing CPU Usage of C/C++/Fortran Applications

See Also 

The CPU Usage profiling tool runs by default for C, C++, and Fortran projects, and shows the percentage of CPU time used by a project while it runs. The graph shows:

Note: The profiling tools are supported only on platforms shown in Overview of C and C++ Profiling.

To view more detailed information about CPU time:

If you see a message that detailed information is not available in the current profile configuration:

  1. Right-click the project and select Properties.
  2. Click the Profile node in the Project Properties dialog.
  3. In the Profile Configuration list, select one of the C/C++ DTrace Standard configuration if you are running on Oracle Solaris, or C/C++ Oracle Solaris Studio Standard if you are running on Linux with the Oracle Solaris Studio tool collection.
    Tip: If you do not see these configurations, your operating system and tool collection do not support the advanced profiling features.
  4. Click OK.
  5. Run the project and you should be able to click the Hot Spots button and see detailed information.

To disable CPU Usage profiling in the Run Monitor:

To disable all Run Monitor profiling tools:

See also
  Managing C/C++/Fortran Profile Configurations
Profiling C/C++/Fortran Projects
Run Monitor Window for C/C++/Fortran Projects
C/C++/Fortran Project Properties Dialog Box: Profile

Legal Notices