Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help

Running sgx-hotspots Analysis from the Command Line

SGX Hotspots analysis type is targeted for systems with Intel Software Guard Extensions (Intel SGX) feature enabled. It 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.

Syntax:

$ amplxe-cl -collect sgx-hotspots [-knob <knobName=knobValue>] [--] <target>

Knobs: sampling-interval, enable-user-tasks.

Note

For the most current information on available knobs (configuration options) for the SGX Hotspots analysis, enter:

$ amplxe-cl -help collect sgx-hotspots

Example:

The following example shows how to run the SGX Hotspots Analysis on myApplication:

$ amplxe-cl -collect sgx-hotspots -- home/test/myApplication

What's Next

When the data collection is complete, do one of the following to view the result:

See Also