インテル® VTune™ Amplifier 2018 ヘルプ

SGX Hotspots Analysis Inside Security Enclaves

Use the SGX Hotspots analysis on systems with Intel Software Guard Extensions (Intel SGX) feature enabled.

This analysis type uses the INST_RETIRED.PREC_DIST hardware event that emulates precise clockticks and helps identify performance-critical program units inside security enclaves. Using the precise event is mandatory for the analysis on the systems with the Intel SGX enabled because regular non-precise events do not provide a correct instruction pointer and therefore cannot be attributed to correct modules.

Analyze the Precise Clockticks metric values to identify the most time-consuming program units inside transactions.

To use the SGX Hotspots analysis type, explore:

Configuration Options

To configure options for the TSX Hotspots analysis:

Prerequisites: Create a project and specify an analysis target.

  1. Click the (スタンドアロン GUI)/ (Visual Studio IDE)New Analysis toolbar button.

    The Analysis Type window opens.

  2. From the left pane, select Microarchitecture Analysis > SGX Hotspots.

    The SGX Hotspots configuration pane opens on the right.

  3. Configure the following options:

    CPU sampling interval, ms field

    Specify an interval (in milliseconds) between CPU samples.

    Possible values - 0.01-1000.

    The default value is 1.

    Analyze user tasks, events, and counters check box

    Analyze the tasks, events, and counters specified in your code via the ITT API. This option causes a higher overhead and increases the result size.

    The default value is false.

    Details button

    Expand/collapse a section listing the default non-editable settings used for this analysis type. If you want to modify or enable additional settings for the analysis, you need to create a custom configuration by copying an existing predefined configuration. VTune Amplifier creates an editable copy of this analysis type configuration and locates it under the Custom Analysis section on the left pane.

  4. Click Start to run the analysis.

Viewpoints

Explore the SGX Hotspots analysis results in the Hotspots viewpoint that includes the following windows:

関連情報