Intel® VTune™ Amplifier
The TSX Hotspots analysis type uses 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.
To use the TSX Hotspots analysis type, explore:
Configuration options (knobs)
To configure options for the TSX Hotspots analysis:
Click the
New Analysis toolbar button.
The Analysis Type window opens.
From the left pane, select Microarchitecture Analysis > TSX Hotspots.
The TSX Hotspots configuration pane opens on the right.
Configure the following options:
|
Collect stacks check box |
Enable hardware event-based stack sampling collection to analyze execution paths based on performance, parallelism, and power consumption metrics. |
|
Analyze user tasks check box |
Analyze tasks specified in your code via Task API. |
|
Details button |
Expand/collapse the Details section to explore the default non-editable settings and hardware events used by the TSX Hotspots analysis for your system. NoteIf you want to modify these settings, click the Copy button in the upper right corner. VTune Amplifier creates an editable copy of the custom hardware event-based sampling analysis type configuration and locates it under the Custom Analysis branch in the analysis tree. |
Click Start to launch the analysis.
You can choose to view TSX Hotspots analysis results in the TSX Exploration viewpoint that includes the following windows:
Summary window displays statistics on the overall application execution.
Bottom-up window displays performance data per CPU metrics (event ratio/event count/sample count) for each program unit.
Top-down Tree window displays hotspot functions in the call tree, performance metrics for a function only (Self value) and for a function and its children together (Total value).
PMU Events window displays count for PMU events selected for the analysis.
Uncore Events window displays count for uncore events selected for the analysis. If there are no uncore events, the upper pane of the window is empty.
Platform window provides details on tasks specified in your code with the Task API, Ftrace*/Systrace* event tasks, OpenCL™ API tasks, and so on. If corresponding platform metrics are collected, the Platform window displays overtime data as GPU usage on a software queue, CPU time usage, OpenCL™ kernels data, and GPU performance per the Overview group of GPU hardware metrics, Memory Bandwidth, and CPU Frequency
Analyze the Precise Clockticks metric values to identify the most time-consuming program units inside transactions.