Choosing the Data to Collect

You can specify the kinds of data you want to collect, select or deselect using the Data to Collect Check Boxes:

To collect Clock-Based Profiling Data:

1. Select the Clock-Based Profiling Data check box.

This check box is selected by default.

2. Choose the profiling interval from the Profiling Interval list box.

There are three choices:


Caution - Before you select Hi-res for high-resolution profiling, see
Doing High-Resolution Profiling.

To collect Hardware Counter Overflow Profiling Data:

1. Select the HW Counter Overflow Profiling check box.

This check box is deselected by default. When it is selected, the data entry functions for the second hardware counter are activated.

If the Clock-Based Profiling Data check box is already selected, it is deselected with a warning message.

2. Choose a counter from the Counter Name list box.

If you choose a standard counter name, the name of the counter you select is displayed in the Counter Name text box.

If you choose "Other", the Counter Name text box is activated for data entry, and you can type in a counter name.

To display a list of available counters in the dbx Commands window, click Show.

3. Choose the number of increments that take place between one overflow event and the next from the Collect Interval list box.

There are three choices, whose definitions depend on the counter and are displayed in the text box:

To collect Hardware Counter Overflow Profiling Data for a second hardware counter:

1. Select the Second HW Counter Overflow Profiling check box.

2. Choose a counter from the Counter Name list box.

See the corresponding step for the first hardware counter for more information.

If the second counter is incompatible with the first, a warning message is printed.

3. Choose the number of increments that take place between one overflow event and the next from the Collect Interval list box.

See the corresponding step for the first hardware counter for more information.


Note - Hardware counter overflow profiling and clock-based profiling are mutually exclusive.

To collect Synchronization Wait Tracing Data:

1. Select the Synchronization Wait Tracing check box.

This check box is deselected by default.

2. Choose the threshold below which synchronization wait events are discarded from the Minimum Delay list box.

There are five choices:

To collect Address-Space Data:
   Select the Address Space Data check box. (This check box is deselected by default.)


Note - Sampling data and summary execution statistics are always collected.