Selecting Events for EBS

When configuring for Event-Based Samplilng (EBS), you can select one or more events to sample with your application. By default, the Clockticks and Instructions Retired events are selected.

To select events for EBS:

  1. From the Configure Sampling dialog box, select the Events tab.

  2. From the Event Groups pull-down list, select the event group which contains the events that you are interested in.
    Only the event groups available for the processor in your system are displayed in the Event Groups pull-down list.TI and TI-E events on processors with Hyper-Threading Technology have a TI or TI-E suffix.

  3. From the Available Events list, select one or more events.
    The events of a selected event group are displayed in the Available Events list.

  4. Click >> to add the event(s) to your Activity.

To select events for EBS from the command line:

use -ec | -event-config en | event-name='<event-name>'

Command-line example:

>vtl activity -d 20 -c sampling -o "-ec en='Branches Retired':sa=200000 -calibration no" run

This example creates and runs an Activity with the sampling collector for a Pentium(R) 4 processor machine. The sampling collector uses the event-based sampling and collects samples after the Branches Retired event occurs 200000 times. The VTune(TM) Performance Analyzer does not calibrate the Sample After value.

To delete previously selected events:

  1. From the Selected Events list, select an event.

  2. Click << to delete the event.

To view the list of sampling events available for your processor from the command line, type:

vtl -help -c sampling

For information on the performance-monitoring events for different types of processors, see Intel(R) processor information on the web.

note

More about Event-based Sampling