Modifying a Profile Configuration

CodeAnalyst calls the process of creating, modifying and saving a custom, user-defined profile configuration "Configuration Management." The predefined profile configurations are preset and cannot be changed. However, a profile configuration can be saved under a different name and the new profile configuration can be modified. Three profile configurations are also available:

These profile configurations act as templates for creating new user-defined profile configurations. The "Current" profile configurations are persistent and can be used as temporary "scratchpad" profile configurations.

To start configuration management:

  1. Open the Configuration Management dialog box by clicking on the Configuration Management button in the toolbar or select Tools > Configuration Management from the menu bar.
  2. The Configuration Management dialog box appears. Select a profile configuration in the Profile configuration list.
  3. Click one of the configuration management buttons on the right hand side of the dialog box.

The Configuration Management dialog box selects a profile configuration to be modified (Edit), to be deleted (Remove), or to be written to a file (Export.) A new profile configuration can be read from a file (Import.) A profile configuration is stored as a sharable .XML file. Export writes an existing profile configuration to a file while import adds a new profile configuration by reading it from a file. New profile configurations appear at the bottom of the profile configuration list. Only user-defined and imported configurations can be deleted from the list; the predefined profile configurations that are installed with CodeAnalyst cannot be deleted.

The following actions are available through the Configuration Management dialog box:

The Edit button opens an edit dialog box. The kind of analysis used by the selected profile configuration determines the type of dialog box that displays since each kind of analysis has its own settings. For example, selecting "Current time-based profile " then clicking the Edit button, opens the "Edit timer configuration" dialog box. The user can then change the timer interval, which determines how often samples are taken.

The Session Settings dialog box contains an Edit button that also opens a profile configuration edit dialog box. Selecting a profile configuration and clicking the Edit button in the Session Settings dialog box is equivalent to opening the Configuration Management dialog box, selecting a profile configuration and clicking the Edit button.

Settings can be changed for profile configurations that use time-based profiling, event-based profiling, and Instruction-Based Sampling. Click one of the links below to see details about the edit dialog boxes for each of these kinds of analysis:

Thread profiling is completely preset. Call stacking sampling is used in conjunction with time-based profiling and event-based profiling, and is enabled through the Session Settings dialog box.

By default, new profile configurations are stored in the Documents and Settings directory in the Application Data\AMD\CodeAnalyst\DCConfigs subdirectory.