Profiling C/C++/Fortran Projects

See Also 

You can examine the behavior of your running C/C++/Fortran project with several profiling tools in the IDE. The profiling tools run automatically by default whenever you run your C or C++ or Fortran project on Oracle Solaris 10 or OpenSolaris.

The profiling information is collected using either DTrace or Oracle Solaris Studio tools, and the underlying operating system. You can change the profiler configuration in the Project Properties dialog's Profile category.

If you are running the project on an Oracle Solaris system (either on a local system, or on a remote development host), you can click a button in the indicator graphs to get more detailed information. A new tab is displayed in the IDE to show details about what the data being displayed in the relevant indicator.

If you are running the project on a Linux system as a local host or remote development host, you can get the detailed information only if you have installed Oracle Solaris Studio tools on the Linux system. You must select a C/C++ Oracle Solaris Studio profile configuration in your project properties.

If you are running the project on a Windows or Mac OS X system, you cannot get the detailed information because Oracle Solaris Studio tools are not available for these platforms, and DTrace is fully supported only on Oracle Solaris platforms.

You can disable the Profile tools in the project's properties so that the profiling does not automatically occur when you run the project, as described below. You can also disable profiling for all projects, or disable any particular tool by Managing Profile Configurations.

To disable Run Monitor profiling tools on a particular project:

  1. Right-click the project node in the Project window.
  2. Select the Profile category in the Project Properties dialog box.
  3. Deselect the option Show profiling indicators during run.
  4. Click OK.

To disable Run Monitor profiling tools on all new projects:

  1. Select Tools > Options.
  2. Click C/C++ panel.
  3. Click Project Options.
  4. Deselect the option Show profiler indicators during run (new projects only).
  5. Click OK.
See also
  Overview of C/C++/Fortran Profiling
Configuring Build Tools
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