show-as

Specify report values as events, samples, or percentage.

GUI Equivalent

Context Menu: Grid

Syntax

-show-as samples | events | percent

Arguments

Argument

Description

samples

Show the total number of samples collected for each event in the viewpoints provided for the hardware event-based sampling data collection.

events

Show the number of times the event occurred during sampling data collection. VTune Amplifier determines this value by applying the following formula for each event: < Event name > samples * Sample After value.

percent

Show the percentage of samples collected for the event. This value is calculated using the following formula: (Number of samples collected for the event/ Total number of samples collected for the event) x 100 .

Default

samples

Performance data collected during the hardware event-based analysis are displayed as samples.

Actions Modified

report

Description

Choose the data format for displaying results collected during hardware event-based sampling.

Example

Generate a hardware events report for the result collected during a hotspots analysis and show as a percentage of events.

$ amplxe-cl -report hw-events -result-dir r001hs -show-as percent
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)