Managing C/C++/Fortran Profile Configurations

See Also 

Profile configurations provide a way to quickly select the C/C++/Fortran profiling tools that you want to be displayed each time you run your C, C++, or Fortran project.

By default, each profile configuration is set up to include only those profiling tools that can run in a given development environment, which is indicated in the name of the configuration. The profiling tools use underlying features of the operating system to gather data about the running project. Several advanced tools require the use of DTrace technology, which is available only in the Solaris 10, OpenSolaris, and Oracle Solaris operating systems. Some of the advanced tools can use Oracle Solaris Studio software to gather information, so they are supported on Solaris OSes and Linux when Oracle Solaris Studio tools are present.

You can modify any of the profile configurations to add or remove individual tools. However, you can only add tools that will work for the environment indicated.

If none of the available profile configurations suit your needs, you can also create your own profile configuration to specify your own set of tools that you want to use.

To view the tools in each profile configuration:

  1. Select Tools > Profiler Tools to open the Profiler Tools Manager.
    The Profiler Tools Manager can also be accessed from a project's Project Properties dialog box by clicking the ... button next to the Profile Configuration option in the Profile properties panel.
  2. Select a configuration from the Profiler Configuration list.
    Each tool included in the configuration is shown with a check mark. Tools that are not supported for the configuration are not selectable.

To modify an existing profile configuration:

  1. Select Tools > Profiler Tools to open the Profiler Tools Manager.
  2. Select a configuration from the Profiler Configuration list.
    Each tool included in the configuration is shown with a check mark. Tools that are not supported for the configuration are not selectable.
  3. Select the tools you want in the selected configuration and click OK.
    When you use this profiler configuration for any project, the modified list of tools are run.

To add a profile configuration:

  1. Select Tools > Profiler Tools to open the Profiler Tools Manager.
  2. Select Manage Configurations... in the Profiler Configuration list.
  3. In the Profiler Configurations Manager dialog box, select a configuration that is similar to one you want to create.
  4. Click Duplicate, then click Rename
  5. Type the name of your new profiler configuration and click OK.
  6. Click OK in the Profiler Configurations Manager dialog box.
  7. Select the new configuration in the Profiler Tools Manager, select the tools you want in the new configuration, and click OK.
    When you use this profiler configuration for any project, the selected list of tools are run.

See also
  Overview of C/C++/Fortran Profiling
C/C++/Fortran Project Properties Dialog Box: Profile

Legal Notices