Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
TSX Hotspots analysis type uses hardware event-based sampling collection and is targeted for the Intel® processors supporting Intel Transactional Synchronization Extensions (Intel TSX). This analysis type uses the UOPS_RETIRED.ALL_PS hardware event that emulates precise clockticks and helps identify performance-critical program units inside transactions.
Syntax:
$ amplxe-cl -collect tsx-hotspots [-knob <knobName=knobValue>] [--] <target>
Knobs: sampling-interval, enable-stack-collection.
For the most current information on available knobs (configuration options) for the TSX Hotspots analysis, enter:
$ amplxe-cl -help collect tsx-hotspots
Example:
This example shows how to run the TSX Hotspots analysis on myApplication with enabled call stacks and thread context switches advanced collection:
$ amplxe-cl -collect tsx-hotspots -knob enable-stack-collection=true -- home/test/myApplication
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file
Open the data collection result (*.amplxe) in the VTune Amplifier graphical interface.