You copied the Doc URL to your clipboard.

Setting up event-based sampling

In Arm Streamline, you can override the default interval sampling with event-based sampling using the Counter Configuration dialog box.

To enable event-based sampling, follow these steps:


  1. Open the Counter Configuration dialog box using the button in the Streamline Data view.
  2. Select an event from the Events to Collect list.
  3. Click the Toggle event-based sampling button.
    If the Toggle event-based sampling button is not selectable after you have selected an event, then that event does not support event-based sampling.
  4. Enter a value in the newly activated Threshold field.
    Avoid setting a very low threshold for high frequency events. If you enter a threshold value that generates too many samples, the capture could fail, and you might have to restart your target. To find an appropriate value to enter in the Threshold field, turn off event-based sampling to run a standard, time-based profile with the event counter that you want to use enabled. Look at the resulting Timeline view and note the peak per-second value in the chart for your counter. Your target for the Threshold field is 1000 samples per second, so if the peak for that event is 2000000, a good value to insert in the Threshold field is 2000.

    Figure 5-4 Setting up event-based sampling

    Setting up event-based sampling

Was this page helpful? Yes No