Quantcast
Viewing all articles
Browse latest Browse all 1853

Profiling Managed Code

To analyze the managed code:

  1. Click the Image may be NSFW.
    Clik here to view.
    Project Properties button on the Intel® VTune™ Amplifier toolbar.
    The Project Properties dialog box opens with the Target tab enabled.
  2. Configure the Managed code profiling mode option. Choose one of the following:
    • Native mode collects data on native code only, does not attribute data to managed source.

    • Managed mode collects everything, resolves samples attributed to native code, attributes data to managed source only. The call stack in the analysis result displays data for managed code only.

    • Mixed collects everything and attributes data to managed source where appropriate. Consider using this option when analyzing a native executable that makes calls to the managed code.

    • Auto mode automatically detects the type of target executable, managed or native, and switches to the corresponding mode.

    Note

    • Managed code profiling settings are inherited automatically from the Visual Studio* project. For native targets, the Managed code profiling mode option is disabled.

    • Attaching to managed runtime processes is supported only for the user-mode sampling and tracing analysis types. System-wide profiling for managed code is not supported.

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles